URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [temps1.C] - Rev 844
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed temps
// temps file
// Date: Mon, 07 Sep 1992 13:12:28 EDT
// From: richard@ttt.kth.se
struct foo
{
char *s;
foo(char *x) { s=x; }
};
struct cookie
{
foo * v;
cookie ( foo * x) { v=x; }
};
cookie cat(&foo("apabepa"));// { dg-error "" } .*
Go to most recent revision | Compare with Previous | Blame | View Log