diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/981130-1.c')
-rwxr-xr-x | gcc/testsuite/gcc.c-torture/execute/981130-1.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/981130-1.c b/gcc/testsuite/gcc.c-torture/execute/981130-1.c deleted file mode 100755 index 72630b0..0000000 --- a/gcc/testsuite/gcc.c-torture/execute/981130-1.c +++ /dev/null @@ -1,30 +0,0 @@ -struct s { int a; int b;}; -struct s s1; -struct s s2 = { 1, 2, }; - -void -check (a, b) - int a; - int b; -{ - if (a == b) - exit (0); - else - abort (); -} - -int -main () -{ - int * p; - int x; - - s1.a = 9; - p = & s1.a; - s1 = s2; - x = * p; - - check (x, 1); -} - - |