Debian Codegraph @

gcc/testsuite/g++.dg/ext/typeof6.C

raw
1 // { dg-options "" }
2
3 template <class T>
4 void test1() {
5 int x = 0;
6 const typeof(x) & t1 = x+0;
7 }
8
9 void test2() {
10 int x = 0;
11 const typeof(x) & t1 = x+0;
12 }
13
14 int main() {
15 test1<int>();
16 test2 ();
17 }