aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-10.C
blob: cac568e0b7a3c396820a9da88af8efa5c20204b0 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/12795
// { dg-do compile { target c++11 } }
// { dg-require-alias "" }

void foo()
{
  extern void bar [[gnu::__alias__ ("BAR")]] (); // { dg-warning "ignored" }
  bar ();
}