2 // { dg-do compile { target c++11 } }
5 int s __attribute__((aligned([](char *) {}))); // { dg-error "requested alignment is not an integer constant" }
6 int t [[gnu::aligned([](char *) {})]]; // { dg-error "requested alignment is not an integer constant" }
7 int u __attribute__((aligned([](char *) {}))) : 2; // { dg-error "requested alignment is not an integer constant" }
8 int v [[gnu::aligned([](char *) {})]] : 4; // { dg-error "requested alignment is not an integer constant" }