mirror of
https://github.com/opnsense/src.git
synced 2026-02-27 20:01:13 -05:00
15 lines
260 B
C++
15 lines
260 B
C++
// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 &&
|
|
|
|
struct T {
|
|
T();
|
|
~T();
|
|
};
|
|
|
|
void f(const T& t = T());
|
|
|
|
void g() {
|
|
// RUN: grep "call void @_ZN1TC1Ev" %t | count 2 &&
|
|
// RUN: grep "call void @_ZN1TD1Ev" %t | count 2
|
|
f();
|
|
f();
|
|
}
|