Skip to content

Commit

Permalink
[test] Restore x86-registered-target in Driver/as-warnings.c
Browse files Browse the repository at this point in the history
64666d4 incorrectly removed REQUIRES.
2 RUN lines do need x86-registered-target.
  • Loading branch information
MaskRay committed Jun 6, 2023
1 parent 8a21ea1 commit 5805aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/Driver/as-warnings.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// RUN: %clang -### --target=x86_64-pc-linux-gnu %s -c -o tmp.o -integrated-as -Wa,-W 2>&1 | FileCheck %s

/// Make sure warnings behave properly in integrated assembler.
// RUN: %clang --target=x86_64-pc-linux-gnu %s -c -o %t.o -integrated-as -Wa,--no-warn 2>&1 | FileCheck -allow-empty --check-prefix=CHECK-AS-NOWARN %s
// RUN: not %clang --target=x86_64-pc-linux-gnu %s -c -o %t.o -integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s
// RUN: %if x86-registered-target %{ %clang --target=x86_64 %s -c -o /dev/null -fintegrated-as -Wa,--no-warn 2>&1 | count 0 %}
// RUN: %if x86-registered-target %{ not %clang --target=x86_64 %s -c -o /dev/null -fintegrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s %}

// CHECK: "-cc1" {{.*}} "-massembler-no-warn"
// CHECK-NOIAS: "--no-warn"
Expand Down

0 comments on commit 5805aeb

Please sign in to comment.