aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-22.C
blob: 4c07df995c75aabe8bb22e5a46f8755539ed08a0 (plain)
1
2
3
4
5
6
7
// PR c++/27648
// { dg-do compile { target c++11 } }

void f()
{
  static_cast<float *[[gnu::unused]]>(0); // { dg-warning "ignored" }
}