blob: 11b83d333b70f59bc3ef320fb935390328ec97cc [file] [log] [blame]
Anders Carlsson7a039eb2009-08-15 22:30:50 +00001// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 &&
2struct A {
3 A();
4 ~A();
5 void f();
6};
7
8void f() {
9 // RUN: grep "call void @_ZN1AC1Ev" %t | count 2 &&
10 // RUN: grep "call void @_ZN1AD1Ev" %t | count 2
11 A();
12 A().f();
13}