summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib22.C
blob: 5304a35d177cfcb60475ed009958c0a44e31556f (plain)
1
2
3
4
5
6
// PR c++/27648

void f()
{
  static_cast<float *__attribute((unused))>(0); // { dg-error "expected" }
}