☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof6.C
☽
☼
gcc/testsuite/g++.dg/ext/typeof6.C
code
plain
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
}