* gcc.c-torture/execute/20010206-1.c: New test.

From-SVN: r39517
This commit is contained in:
Jakub Jelinek 2001-02-07 14:27:09 +01:00 committed by Jakub Jelinek
parent 4a1d48f6e5
commit bdc624db34
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-02-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010206-1.c: New test.
2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Update.

View File

@ -0,0 +1,16 @@
int foo (void)
{
int i;
#line 1 "20010206-1.c"
if (0) i = 1; else i
#line 1 "20010206-1.c"
= 26;
return i;
}
int main ()
{
if (foo () != 26)
abort ();
exit (0);
}