summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib10.C
blob: 42d967dde60ed49965a410b6a2cde081e8786700 (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 ();
}