Skip to content
Snippets Groups Projects
Commit 1f0b8ba4 authored by Iain Sandoe's avatar Iain Sandoe
Browse files

[C++20][Modules] Fix a testcase warning on Windows [NFC].

As reported, using "-DTDIR=%t" with a path name of 'C:\Users\...' causes
a warning to be emitted about the use of \U without following hex digits.

Since the value is only required for the FileCheck cases resolve this by
omitting the -D from the compile lines.
parent f02a0a69
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,10 @@
// RUN: FileCheck --check-prefix=CHECK-HU2 %s -DTDIR=%t
// RUN: %clang_cc1 -std=c++20 -emit-module-interface importer-01.cpp \
// RUN: -fmodule-file=hu-02.pcm -o B.pcm -DTDIR=%t -verify
// RUN: -fmodule-file=hu-02.pcm -o B.pcm -verify
// RUN: %clang_cc1 -std=c++20 -emit-module-interface importer-02.cpp \
// RUN: -fmodule-file=hu-02.pcm -o C.pcm -DTDIR=%t -Rmodule-import 2>&1 | \
// RUN: -fmodule-file=hu-02.pcm -o C.pcm -Rmodule-import 2>&1 | \
// RUN: FileCheck --check-prefix=CHECK-IMP-HU2 %s -DTDIR=%t
//--- hu-01.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment