blob: 6c8eaf18d6d81eb28e829ab9f40b8401e9d1fb5b [file] [log] [blame]
/* { dg-do compile } */
#pragma GCC push_options
#pragma GCC target ("arch=intel") /* { dg-error "'intel' CPU can be used only for 'target\\(\"tune=\"\\)' attribute" } */
__attribute__((constructor)) void foo()
{
asm ("");
}
#pragma GCC pop_options
int main() { return 0; }