1 // RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 &&
2
3 struct T {
4 T();
5 ~T();
6 };
7
8 void f(const T& t = T());
9
10 void g() {
11 // RUN: grep "call void @_ZN1TC1Ev" %t | count 2 &&
12 // RUN: grep "call void @_ZN1TD1Ev" %t | count 2
13 f();
14 f();
15 }
16