* gcc.dg/attr-alias-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78560
138bc75d-0d04-0410-961f-
82ee72b054a4
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 ...
* gcc.c-torture/execute/20040208-2.c: ... it back.
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 ();
+}