blob: fa373ec3f09dabd3037bfc3220ce03204858ca45 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "-pedantic" }
int main(void)
{
alignof(void (void)); // { dg-warning "3:ISO C\\+\\+ does not permit .alignof. applied to a function type" }
}