* g++.dg/other/first-global.C: New test.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Oct 2003 17:40:19 +0000 (17:40 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Oct 2003 17:40:19 +0000 (17:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72344 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 86c18ce..b7b24ac 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;