summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/attr-alias-1.c
blob: 8f530a84ce0e455362429a99d135c05ad80b5900 (plain)
1
2
3
4
5
6
7
8
/* PR c++/12795 */
/* { dg-require-alias "" } */

void foo()
{
  extern void bar () __attribute__ ((__alias__ ("BAR"))); /* { dg-warning "ignored" } */
  bar ();
}