summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute3.C
blob: 491c2e7a8fe90425247d075b0e1f0ae367f793be (plain)
1
2
3
4
5
// PR c++/51400
// { dg-do compile { target c++11 } }

constexpr int (*f)() __attribute__((noreturn)) = 0;
constexpr int (*g)() __attribute__((const)) = 0;