Skip to content

Commit

Permalink
Remove useless RUN lines in the middle of the file and pipe to FileCh…
Browse files Browse the repository at this point in the history
…eck; NFC
  • Loading branch information
AaronBallman committed Feb 24, 2022
1 parent 7aef8b3 commit 0039249
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions clang/test/CodeGen/attributes.c
@@ -1,5 +1,4 @@
// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
// RUN: FileCheck --input-file=%t %s
// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu %s -o - | FileCheck %s

// CHECK: @t5 = weak{{.*}} global i32 2
int t5 __attribute__((weak)) = 2;
Expand Down Expand Up @@ -79,9 +78,6 @@ void __attribute__((section("xSECT"))) t11(void) {}
// CHECK: define{{.*}} i32 @t19() [[NUW]] {
extern int t19(void) __attribute__((weak_import));
int t19(void) {
// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
return 10;
}

Expand Down

0 comments on commit 0039249

Please sign in to comment.