Commit 15bf24d8 by Jeffrey A Law Committed by Jeff Law

* gcc.c-torture/compile/981001-4.c: New test.

From-SVN: r22739
parent 1f72bfca
......@@ -2,6 +2,7 @@ Thu Oct 1 19:05:20 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/981001-2.c: New test.
* gcc.c-torture/compile/981001-3.c: New test.
* gcc.c-torture/compile/981001-4.c: New test.
1998-10-01 Robert Lipe <robertl@dgii.com>
......
#define P(a,b) P1(a,b)
#define P1(a,b) a##b
#define ONCE(x, y) (x ?: x = y())
#define PREFIX
extern int P(PREFIX, init) (void);
int
fun(void)
{
static int memo;
return ONCE(memo, P(PREFIX, init));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment