Anders Carlsson | 605fa8f | 2010-06-08 22:48:02 +0000 | [diff] [blame] | 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 | |
Anders Carlsson | 56833bc | 2010-06-08 23:10:20 +0000 | [diff] [blame] | 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" { |