Skip to content

Commit 3abf760

Browse files
committed
Update target-clones-invalid
1 parent 5b0148a commit 3abf760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: not %clang_cc1 -triple riscv64 -target-feature +i -emit-llvm -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORT-OS
22

33
// CHECK-UNSUPPORT-OS: error: target_clones is currently only supported on Linux
4-
__attribute__((target_clones("default", "arch=+c"))) int foo2(void) {
4+
__attribute__((target_clones("default", "arch=+c"))) int foo(void) {
55
return 2;
66
}
77

8-
int bar() { return foo1()+foo2(); }
8+
int bar() { return foo(); }

0 commit comments

Comments
 (0)