1 // { dg-do compile { target c++14 } }
5 constexpr int f(int i) {
6 static int j = i; // { dg-error "static" }
7 thread_local int l = i; // { dg-error "thread_local" }
8 goto foo; // { dg-error "goto" }
10 asm("foo"); // { dg-error "asm" }
11 int k; // { dg-error "uninitialized" }
12 A a; // { dg-error "non-literal" }
17 // { dg-prune-output "return" }