Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
      2 
      3 struct F {
      4   void (*x)();
      5 };
      6 void G();
      7 template<class T> class A {
      8 public: A();
      9 };
     10 template<class T> A<T>::A() {
     11   static F f = { G };
     12 }
     13 A<int> a;
     14