[OpenMP] Fix the test by generating output file in temporary directory
authorKirill Bobyrev <kbobyrev@google.com>
Wed, 26 Feb 2020 13:07:13 +0000 (14:07 +0100)
committerKirill Bobyrev <kbobyrev@google.com>
Wed, 26 Feb 2020 13:07:13 +0000 (14:07 +0100)
Related Revison: D74925
Commit: 396b7253944e927878dff2f6321efabb3aaa0f45

clang/test/OpenMP/PR44893.c

index 12e43da..1ba1127 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang -fopenmp -O -g -x c %s -c -disable-output
+// RUN: %clang -fopenmp -O -g -x c %s -c -disable-output -o %t
 
 // Do not crash ;)