summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-06-17 21:32:35 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-06-17 21:32:35 +0000
commit51c89d822ef42cc891790f8015b220c7ef2454bd (patch)
tree3299bbb859a22d2ac098ef4775f923e910ce926b /gnu/egcs/gcc
parent11b8ec4021fdb6caa03e3246ef57a60265bea642 (diff)
Update to 990608 snapshot.
Highlights: - official fix for an alpha bug, - cpp changes semantic slightly, - valarray in libstdc++.
Diffstat (limited to 'gnu/egcs/gcc')
-rw-r--r--gnu/egcs/gcc/testsuite/g++.old-deja/g++.ext/attrib5.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/testsuite/g++.old-deja/g++.ext/attrib5.C b/gnu/egcs/gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
new file mode 100644
index 00000000000..85f1139b78b
--- /dev/null
+++ b/gnu/egcs/gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
@@ -0,0 +1,11 @@
+// Test that attributes weak and alias coexist.
+
+extern "C" {
+ void f () __attribute__((weak, alias ("_f")));
+ void _f () { }
+}
+
+int main ()
+{
+ f ();
+}