Richard Smith | 762bb9d | 2011-10-13 22:29:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s |
Sean Hunt | eb88ae5 | 2011-05-23 21:07:59 +0000 | [diff] [blame] | 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() | ||||
Eli Friedman | 12e9f8e | 2011-06-14 21:20:53 +0000 | [diff] [blame] | 10 | // CHECK: call {{.*}} @_ZN1XIiEC1Ev |
11 | // CHECK: define linkonce_odr {{.*}} @_ZN1XIiEC1Ev | ||||
12 | // CHECK: define linkonce_odr {{.*}} @_ZN1XIiEC2Ev |