Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -std=c++0x -emit-llvm -o - %s | FileCheck %s
      2 template<typename T>
      3 struct X
      4 {
      5     X() = default;
      6 };
      7 
      8 X<int> x;
      9 // CHECK: define internal void @__cxx_global_var_init()
     10 // CHECK: call {{.*}} @_ZN1XIiEC1Ev
     11 // CHECK: define linkonce_odr {{.*}} @_ZN1XIiEC1Ev
     12 // CHECK: define linkonce_odr {{.*}} @_ZN1XIiEC2Ev
     13