blob: 94fd9aa12ced248a0e87fbbe16aa4634e8545a4f [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
Anders Carlsson1b3171d2009-12-04 23:50:01 +00002// CHECK: ; ModuleID
3template<typename> struct A { static int a; };
4
5// CHECK-NOT: @_ZN1AIcE1aE
6template<> int A<char>::a;
7
8// CHECK: @_ZN1AIbE1aE = global i32 10
9template<> int A<bool>::a = 10;
10
11