New test.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jun 2005 06:13:39 +0000 (06:13 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jun 2005 06:13:39 +0000 (06:13 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100871 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/opt/complex1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/opt/complex1.C b/gcc/testsuite/g++.dg/opt/complex1.C
new file mode 100644 (file)
index 0000000..0066c26
--- /dev/null
@@ -0,0 +1,9 @@
+// PR tree-opt/21994
+// { dg-do compile }
+// { dg-options "-O2" }
+
+_Complex float f(void);
+_Complex float g(void) throw()
+{
+  return f();
+}