reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 | // RUN: %clang_cc1 -triple mips-linux-gnu -fsyntax-only -verify %s void __attribute__((target("arch=mips1"))) foo(void) {} // expected-error@+3 {{function multiversioning is not supported on the current target}} // expected-note@-2 {{previous declaration is here}} void __attribute__((target("arch=mips2"))) foo(void) {} // expected-error@+2 {{function multiversioning is not supported on the current target}} void __attribute__((target("default"))) bar(void){} |