blob: f1000657b4a101b26e52e7a18fdf70144e38aee9 [file] [log] [blame]
// { dg-lto-do link }
// { dg-lto-options { { -g -flto } } }
// { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
template<typename T> struct Identity { typedef T type; };
struct S {
typedef void (S::*FP)();
FP fp;
};
void g();
void f() {
typedef Identity<S>::type Dummy;
S s;
g();
}