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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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
 
5
template 
6
struct A {};
7
 
8
struct B
9
{
10
  static int foo(void);
11
};
12
 
13
template 
14
A func(void);
15
 
16
int main()
17
{
18
  func();  // { dg-error "sorry, unimplemented" }
19
}

powered by: WebSVN 2.1.0

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