(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ext/
consteval1.C
// { dg-do compile }
// { dg-options "-std=c++2a" }

consteval int foo (int x) { return x; }
int d = 6;			// { dg-bogus "'int d' is not const" }
bool e = __builtin_has_attribute (foo (d), packed);	// { dg-bogus "the value of 'd' is not usable in a constant expression" }