[[Split portion of a mixed commit.]]

From-SVN: r41230.2
This commit is contained in:
Richard Henderson 2001-04-10 15:22:06 -07:00
parent c57718d3fe
commit 45b6f9c99d
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// Build don't link:
// We tried to create a temporary of unknown size and crashed.
extern int a1[];
extern int a2[];
int foo(int p)
{
int x = (p ? a1 : a2)[1];
return x;
}