blob: fe18c21a2927fc7648eebd15a66793d4d1e0f3fb [file] [log] [blame]
Eli Friedman61c6c912010-06-19 06:24:06 +00001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | not grep define
2// PR7415
3class X {
4 template <class Dummy> struct COMTypeInfo {
5 static const int kIID;
6 };
7 static const int& GetIID() {return COMTypeInfo<int>::kIID;}
8};
9template <class Dummy> const int X::COMTypeInfo<Dummy>::kIID = 10;
10
11
12