1 // PR c++/34270 2 // { dg-do compile } 3 // { dg-options "" } 4 foo()5 void foo () 6 { 7 __typeof__ (0 ?: 0) x; 8 __decltype (0 ?: 0) y; 9 } 10 bar()11 template<int> void bar () 12 { 13 __typeof__ (0 ?: 0) x; 14 __decltype (0 ?: 0) y; 15 } 16