Skip to content

Commit 89e80f8

Browse files
committed
Specify target and linker for tests
1 parent 1f039de commit 89e80f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/test/Driver/atomic.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
!RUN: %flang -fopenmp -rtlib=libgcc -### %s 2>&1 | FileCheck --check-prefixes=GCC %s
2-
!RUN: %flang -fopenmp -rtlib=compiler-rt -### %s 2>&1 | FileCheck --check-prefixes=CRT %s
1+
!RUN: %flang --target=aarch64-unknown-linux-gnu -fuse-ld=ld -fopenmp -rtlib=libgcc -### %s 2>&1 | FileCheck --check-prefixes=GCC %s
2+
!RUN: %flang --target=aarch64-unknown-linux-gnu -fuse-ld=ld -fopenmp -rtlib=compiler-rt -### %s 2>&1 | FileCheck --check-prefixes=CRT %s
33

44
!GCC: -latomic
55
!CRT-NOT: -latomic

0 commit comments

Comments
 (0)