921e5a0eb4
From-SVN: r14840
19 lines
281 B
C
19 lines
281 B
C
// Build don't link:
|
|
// 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"));// ERROR - .*
|