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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [template1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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.