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

Subversion Repositories openrisc

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

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

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