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.

24 lines
487 B

// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s
struct A {
A();
~A();
};
A a;
A as[2];
struct B {
B();
~B();
int f();
};
int i = B().f();
// CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
// CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
// CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
// CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {
// CHECK: "__TEXT,__StaticInit,regular,pure_instructions" {