☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignof3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/alignof3.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
// { dg-options "-pedantic" }
3
int main(void)
4
{
5
alignof(void (void)); // { dg-warning "3:ISO C\\+\\+ does not permit .alignof. applied to a function type" }
6
}