[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / empty-struct-init-list.cpp
blob33f52ba7032d62c08b29288b78f3c46016ba5aba
1 // RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -std=c++14 -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -std=c++17 -emit-llvm -o - %s | FileCheck %s
5 // CHECK: struct.a
6 typedef struct { } a;
7 typedef struct {
8 a b[];
9 } c;
11 // CHECK: {{(dso_local )?}}global %struct.c{{.*}}zeroinitializer
12 c d{ };