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