First version committed to git
[zpugcc/jano.git] / toolchain / gcc / gcc / testsuite / g++.dg / ext / typeof6.C
blobef75f255cb480ed3aec8569d544057020000bd69
1 // { dg-options "" }
3 template <class T>
4 void test1() {
5   int x = 0;
6   const typeof(x) & t1 = x+0;
9 void test2() {
10   int x = 0;
11   const typeof(x) & t1 = x+0;
14 int main() {
15   test1<int>();
16   test2 ();