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