Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / global-init-darwin.cpp
blob20c13c6eef77961f1e4665ee02f984c87d0b199f
1 // RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s
3 struct A {
4 A();
5 ~A();
6 };
8 A a;
9 A as[2];
11 struct B {
12 B();
13 ~B();
14 int f();
17 int i = B().f();
19 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
20 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
21 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
22 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
23 // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {