blob: 145fd4e424f46823c6c8139b8396833098e322ba [file] [log] [blame]
Richard Smith762bb9d2011-10-13 22:29:44 +00001// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s
Sean Hunteb88ae52011-05-23 21:07:59 +00002template<typename T>
3struct X
4{
5 X() = default;
6};
7
8X<int> x;
9// CHECK: define internal void @__cxx_global_var_init()
Eli Friedman12e9f8e2011-06-14 21:20:53 +000010// CHECK: call {{.*}} @_ZN1XIiEC1Ev
11// CHECK: define linkonce_odr {{.*}} @_ZN1XIiEC1Ev
12// CHECK: define linkonce_odr {{.*}} @_ZN1XIiEC2Ev