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