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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [template1.C] - Blame information for rev 316

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-options "-O2" }
2
// { dg-final { scan-assembler-not "\n_?_ZN1AILi0EE4foo1Ev\[: \t\n\]" } }
3
 
4
template 
5
struct A {
6
    void foo1 () throw ();
7
    void foo2 ();
8
 
9
    void UNRELATED ();
10
};
11
 
12
template <> void A<0>::UNRELATED ();
13
 
14
template  inline void A::foo1 () throw () {}
15
template  inline void A::foo2 ()          {}
16
 
17
void bar (A<0> &a) {
18
  a.foo1 ();
19
}

powered by: WebSVN 2.1.0

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