1 // RUN: %clang_cc1 -triple aarch64-linux-gnu -fsyntax-only -verify %s 2 // expected-no-diagnostics 3 4 namespace Name { foo()5int __attribute((target_version("default"))) foo() { return 0; } 6 } 7 8 namespace Name { foo()9int __attribute((target_version("sve"))) foo() { return 1; } 10 } 11 bar()12int bar() { return Name::foo(); } 13