OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [pr48354-1_0.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-lto-do link }
2
// { dg-lto-options { { -g -flto } } }
3
// { dg-extra-ld-options "-r -nostdlib" }
4
 
5
template 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::type Dummy;
13
    S s;
14
    g();
15
}
16
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.