New test.
authorRichard Henderson <rth@gcc.gnu.org>
Mon, 13 Jun 2005 06:13:39 +0000 (23:13 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 13 Jun 2005 06:13:39 +0000 (23:13 -0700)
From-SVN: r100871

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();
+}