Use writable temporary file for test compiler output instead of hardcoded name. NFCI.

This commit is contained in:
Jorge Gorbe Moya 2022-04-08 10:57:20 -07:00
parent 66b829ac7b
commit 7dcd698875
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
// Based on C++20 10.2 example 3.
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o M.pcm
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t
export module M;
struct S;

View File

@ -1,6 +1,6 @@
// Based on C++20 10.2 example 4.
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -verify -o M.pcm
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -verify -o %t
export module M;

View File

@ -1,6 +1,6 @@
// Based on C++20 10.2 example 6.
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -verify -o M.pcm
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -verify -o %t
export module M;

View File

@ -1,6 +1,6 @@
// Based on C++20 10.2 example 6.
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -verify -o M.pcm
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -verify -o %t
export module M;
export namespace N {