* g++.dg/other/first-global.C: New test.
authorJan Hubicka <jh@suse.cz>
Sat, 11 Oct 2003 17:40:19 +0000 (19:40 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 11 Oct 2003 17:40:19 +0000 (17:40 +0000)
From-SVN: r72344

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/first-global.C [new file with mode: 0644]

index 86c18ce3a7df43c50939d8949be7c8f511cd9352..b7b24ac6cf674205271a8f6742d8691e1695729d 100644 (file)
@@ -1,3 +1,7 @@
+Sat Oct 11 12:26:16 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * g++.dg/other/first-global.C: New test.
+
 2003-10-11  Roger Sayle  <roger@eyesopen.com>
 
        * gcc.c-torture/execute/string-opt-18.c: New testcase.
diff --git a/gcc/testsuite/g++.dg/other/first-global.C b/gcc/testsuite/g++.dg/other/first-global.C
new file mode 100644 (file)
index 0000000..b50f326
--- /dev/null
@@ -0,0 +1,4 @@
+/* { dg-do compile } */
+/* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */
+struct foo { foo (); };
+foo foobar;