OSDN Git Service

* expr.c (highest_pow2_factor_for_type): Rename into
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20030626-1.c
1 char buf[10];
2
3 extern void abort (void);
4 extern int sprintf (char*, const char*, ...);
5
6 int main()
7 {
8   int l = sprintf (buf, "foo\0bar");
9   if (l != 3)
10     abort ();
11   return 0;
12 }
13