aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20011119-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/20011119-2.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20011119-2.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20011119-2.c b/gcc/testsuite/gcc.c-torture/compile/20011119-2.c
index 2616368a1ce..ab649b98bc7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20011119-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20011119-2.c
@@ -1,13 +1,6 @@
-extern inline int foo (void)
-{
- return 23;
-}
-int bar (void)
-{
- return foo ();
-}
+extern inline int foo (void) { return 23; }
+int bar (void) { return foo (); }
extern int foo (void) __attribute__ ((weak, alias ("xxx")));
-int baz (void)
-{
- return foo ();
-}
+int baz (void) { return foo (); }
+int xxx(void) __asm__("xxx");
+int xxx(void) { return 23; }