* g++.dg/ext/attrib10.C: Mark for warning.
* gcc.dg/attr-alias-1.c: New.
From-SVN: r78560
+2004-02-26 Richard Henderson <rth@redhat.com>
+
+ * g++.dg/ext/attrib10.C: Mark for warning.
+ * gcc.dg/attr-alias-1.c: New.
+
2004-02-26 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/ieee/20040208-2.c: Move ...
void foo()
{
- extern void bar () __attribute__ ((__alias__ ("BAR")));
+ extern void bar () __attribute__ ((__alias__ ("BAR"))); // { dg-warning "ignored" }
bar ();
}
--- /dev/null
+/* PR c++/12795 */
+/* { dg-require-alias "" } */
+
+void foo()
+{
+ extern void bar () __attribute__ ((__alias__ ("BAR"))); /* { dg-warning "ignored" } */
+ bar ();
+}