From 1481fcf780bde7b115aa395064d71749b1a40889 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 9 Dec 2022 08:56:02 -0500 Subject: [PATCH] [clang] Try to unbreak test/C/drs/dr324.c on Windows The test uses #pragma GCC dependency "oops\..\dr0xx.c" to test preprocessor "tokenization obscurities". However, that pragma also emits a warning if the refered file is newer than the current file -- and d694e2490af8 edited dr0xx.c, causing this warning to fire. As workaround, touch this file, so that it's newer than dr0xx.c again. --- clang/test/C/drs/dr324.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/C/drs/dr324.c b/clang/test/C/drs/dr324.c index 870232c..9d52640 100644 --- a/clang/test/C/drs/dr324.c +++ b/clang/test/C/drs/dr324.c @@ -21,7 +21,7 @@ char lit_char = '\y'; /* expected-warning {{unknown escape sequence '\y'}} * The second pragma is a string-literal and so the \d is invalid there. */ #ifdef _WIN32 -/* This test only makes sense on Windows targets where the backslash is a valid +/* This test only makes sense on Windows targets, where the backslash is a valid * path separator. */ #pragma GCC dependency "oops\..\dr0xx.c" -- 2.7.4