Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / template / cond7.C
blobce1c77e593ba19a45bc3e3f494cfb7fedf3886f0
1 // PR c++/34270
2 // { dg-do compile }
3 // { dg-options "" }
5 void foo ()
7   __typeof__ (0 ?: 0) x;
8   __decltype (0 ?: 0) y;
11 template<int> void bar ()
13   __typeof__ (0 ?: 0) x;
14   __decltype (0 ?: 0) y;