xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/template-static-var-defer.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | not grep define
2 // PR7415
3 class X {
4   template <class Dummy> struct COMTypeInfo {
5     static const int kIID;
6   };
GetIID()7   static const int& GetIID() {return COMTypeInfo<int>::kIID;}
8 };
9 template <class Dummy> const int X::COMTypeInfo<Dummy>::kIID = 10;
10 
11 
12 
13