repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof6.C
blob
ef75f255cb480ed3aec8569d544057020000bd69
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
}