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
* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr48354-1_0.C
blob
f1000657b4a101b26e52e7a18fdf70144e38aee9
1
// { dg-lto-do link }
2
// { dg-lto-options { { -g -flto } } }
3
// { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
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