blob: 33f52ba7032d62c08b29288b78f3c46016ba5aba [file] [log] [blame]
// 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{ };