1// { dg-do compile } 2 3template<int size> 4struct Foobar { 5 // Contents irrelevant 6}; 7 8template <typename A> 9struct Wrapper { 10 // Contents irrelevant 11}; 12 13template <typename A> 14Foobar<sizeof(Wrapper<A>)> * 15compiler_bug (A) 16{ 17 return 0; 18} 19 20int main() 21{ 22 compiler_bug(1); 23} 24