summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-G-O0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/uninit-G-O0.c')
-rw-r--r--gcc/testsuite/gcc.dg/uninit-G-O0.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/testsuite/gcc.dg/uninit-G-O0.c b/gcc/testsuite/gcc.dg/uninit-G-O0.c
deleted file mode 100644
index d6edffede66..00000000000
--- a/gcc/testsuite/gcc.dg/uninit-G-O0.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Test we do not warn about initializing variable with address of self in the initialization. */
-/* { dg-do compile } */
-/* { dg-options "-Wuninitialized" } */
-
-void *f()
-{
- void *i = &i;
- return i;
-}