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/] [other/] [error6.C] - Blame information for rev 301

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile }
2
// Make sure we emit a decent error message when trying to mangle an
3
//  expression not supported by the C++ ABI due to a defect.
4
// Update: Better to make it supported, I think...
5
 
6
template 
7
struct A {};
8
 
9
struct B
10
{
11
  static int foo(void);
12
};
13
 
14
template 
15
A func(void);
16
 
17
int main()
18
{
19
  func();
20
}

powered by: WebSVN 2.1.0

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