URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [error6.C] - Rev 695
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }// Make sure we emit a decent error message when trying to mangle an// expression not supported by the C++ ABI due to a defect.// Update: Better to make it supported, I think...template <int N>struct A {};struct B{static int foo(void);};template <class T>A<sizeof(T::foo())> func(void);int main(){func<B>();}
Go to most recent revision | Compare with Previous | Blame | View Log
