• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2 // CHECK: ; ModuleID
3 template<typename> struct A { static int a; };
4 
5 // CHECK-NOT: @_ZN1AIcE1aE
6 template<> int A<char>::a;
7 
8 // CHECK: @_ZN1AIbE1aE = global i32 10
9 template<> int A<bool>::a = 10;
10 
11 
12