Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alignas12.C

raw
1 // PR c++/71821
2 // { dg-do compile { target c++11 } }
3
4 template < typename > constexpr int f () { return 4; }
5
6 alignas (f < int >) char c; // { dg-error "non-integral type" }