From 5a2a057de88dc9da544788f7e5a02567dd28e39d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 11 Oct 2003 19:40:19 +0200 Subject: [PATCH] * g++.dg/other/first-global.C: New test. From-SVN: r72344 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/other/first-global.C | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 gcc/testsuite/g++.dg/other/first-global.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 86c18ce3a7d..b7b24ac6cf6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Sat Oct 11 12:26:16 CEST 2003 Jan Hubicka + + * g++.dg/other/first-global.C: New test. + 2003-10-11 Roger Sayle * 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 index 00000000000..b50f3266b5d --- /dev/null +++ b/gcc/testsuite/g++.dg/other/first-global.C @@ -0,0 +1,4 @@ +/* { dg-do compile } */ +/* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */ +struct foo { foo (); }; +foo foobar;