aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/inline1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/inline1.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/inline1.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/inline1.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/inline1.c
deleted file mode 100644
index c660fe314..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/inline1.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-Wall -std=gnu89" } */
-/* This test is expected to fail with an error for the redefinition of foo.
- This violates the constraint of 6.9#3 (no more than one external definition
- of an identifier with internal linkage in the same translation unit). */
-static inline int foo(void) { return 1; } /* { dg-message "note: previous definition of" } */
-static inline int foo(void) { return 0; } /* { dg-error "redefinition of" } */
-