We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0148a commit 3abf760Copy full SHA for 3abf760
clang/test/CodeGen/attr-target-clones-riscv-invalid.c
@@ -1,8 +1,8 @@
1
// RUN: not %clang_cc1 -triple riscv64 -target-feature +i -emit-llvm -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORT-OS
2
3
// CHECK-UNSUPPORT-OS: error: target_clones is currently only supported on Linux
4
-__attribute__((target_clones("default", "arch=+c"))) int foo2(void) {
+__attribute__((target_clones("default", "arch=+c"))) int foo(void) {
5
return 2;
6
}
7
8
-int bar() { return foo1()+foo2(); }
+int bar() { return foo(); }
0 commit comments