llvm-project/clang/test/CodeGenCXX/empty-struct-init-list.cpp
Balaji V. Iyer 442f2f0c5f Fixed a breaking test case
llvm-svn: 339216
2018-08-08 02:47:28 +00:00

13 lines
339 B
C++

// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -std=c++14 -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -std=c++17 -emit-llvm -o - %s | FileCheck %s
// CHECK: struct.a
typedef struct { } a;
typedef struct {
a b[];
} c;
// CHECK: {{(dso_local )?}}global %struct.c{{.*}}zeroinitializer
c d{ };