| 1 |
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s |
| 2 |
|
| 3 |
struct A { |
| 4 |
A(); |
| 5 |
~A(); |
| 6 |
}; |
| 7 |
|
| 8 |
A a; |
| 9 |
A as[2]; |
| 10 |
|
| 11 |
struct B { |
| 12 |
B(); |
| 13 |
~B(); |
| 14 |
int f(); |
| 15 |
}; |
| 16 |
|
| 17 |
int i = B().f(); |
| 18 |
|
| 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" { |