brintos

brintos / llvm-project-archived public Read only

0
0
Text · 319 B · fe18c21 Raw
13 lines · cpp
1// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | not grep define2// PR74153class 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 13