* gcc.c-torture/execute/20010206-1.c: New test.
From-SVN: r39517
This commit is contained in:
parent
4a1d48f6e5
commit
bdc624db34
@ -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>
|
2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
* gcc.dg/cpp/avoidpaste1.c: Update.
|
* gcc.dg/cpp/avoidpaste1.c: Update.
|
||||||
|
16
gcc/testsuite/gcc.c-torture/execute/20010206-1.c
Normal file
16
gcc/testsuite/gcc.c-torture/execute/20010206-1.c
Normal 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);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user