PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / cet-notrack-4b.c
blob6065ef69c25cb9284e1636a97670114cf1972382
1 /* { dg-do compile } */
2 /* { dg-options "-O -fcf-protection -mcet" } */
4 int var1 __attribute__((nocf_check)); /* { dg-warning "'nocf_check' attribute only applies to function types" } */
5 int *var2 __attribute__((nocf_check)); /* { dg-warning "'nocf_check' attribute only applies to function types" } */
6 void (**var3) (void) __attribute__((nocf_check)); /* { dg-warning "'nocf_check' attribute only applies to function types" } */