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
/
lto
/
pr48354-1_0.C
blob
b2ae97709dfd109aeb95c277087ccb6f677a7611
1
// { dg-lto-do link }
2
// { dg-lto-options { { -g -flto } } }
3
// { dg-extra-ld-options "-r -nostdlib" }
4
5
template<typename T> struct Identity { typedef T type; };
6
struct S {
7
typedef void (S::*FP)();
8
FP fp;
9
};
10
void g();
11
void f() {
12
typedef Identity<S>::type Dummy;
13
S s;
14
g();
15
}
16