blob: 94fd9aa12ced248a0e87fbbe16aa4634e8545a4f [file] [log] [blame]
Shih-wei Liaof8fd82b2010-02-10 11:10:31 -08001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2// 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