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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [crash-7.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// Origin: PR c++/42336
2
// { dg-options "-std=c++0x -O2 -g" }
3
// { dg-do compile }
4
 
5
struct X {
6
      void func() {}
7
};
8
 
9
template
10
void b(T) {}
11
 
12
int main() {
13
      b(X()); /* line 9 */
14
        X().func();
15
 
16
          return 0;
17
}
18
 
19
 

powered by: WebSVN 2.1.0

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