You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
339 B
13 lines
339 B
4 months ago
|
// 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{ };
|