Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-10.C
blob: cac568e0b7a3c396820a9da88af8efa5c20204b0 [
file
] [
log
] [
blame
]
// PR c++/12795
// { dg-do compile { target c++11 } }
// { dg-require-alias "" }
void
foo
()
{
extern
void
bar
[[
gnu
::
__alias__
(
"BAR"
)]]
();
// { dg-warning "ignored" }
bar
();
}