summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/cpp0x/alignof3.C
blob: 50c6ac915e11dd5a5c7be758bbfe9b65acd1dae5 (plain)
1
2
3
4
5
6
// { dg-do compile }
// { dg-options "-std=c++0x -pedantic" }
int main(void)
{
  alignof(void (void));   // { dg-warning "function type" }
}
OpenPOWER on IntegriCloud