* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr71652.c
bloba6b04db600c75482340b23419d016644b7a43a8a
1 /* { dg-do compile } */
3 #pragma GCC push_options
4 #pragma GCC target ("arch=generic") /* { dg-error "'generic' CPU can be used only for 'target\\(\"tune=\"\\)' attribute" } */
6 __attribute__((constructor)) void foo()
8 asm ("");
11 #pragma GCC pop_options
13 int main() { return 0; }