summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20040223-1.c
blob: 940ec0dcffaeec77e951ff15950194a6424b5e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <string.h>
#include <stdio.h>

void
a(void *x,int y)
{
  if (y != 1234)
    abort ();
}

int
main()
{
  a(strcpy(alloca(100),"abc"),1234);
  return 0;
}