brintos

brintos / llvm-project-archived public Read only

0
0
Text · 299 B · 1c12fd6 Raw
13 lines · cpp
1// RUN: %clang_cc1 -triple aarch64-linux-gnu  -fsyntax-only -verify %s2// expected-no-diagnostics3 4namespace Name {5int __attribute((target_version("default"))) foo() { return 0; }6}7 8namespace Name {9int __attribute((target_version("sve"))) foo() { return 1; }10}11 12int bar() { return Name::foo(); }13