Skip to content

Commit 1481fcf

Browse files
committed
[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 d694e24 edited dr0xx.c, causing this warning to fire. As workaround, touch this file, so that it's newer than dr0xx.c again.
1 parent 3fffe68 commit 1481fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/C/drs/dr324.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ char lit_char = '\y'; /* expected-warning {{unknown escape sequence '\y'}}
2121
* The second pragma is a string-literal and so the \d is invalid there.
2222
*/
2323
#ifdef _WIN32
24-
/* This test only makes sense on Windows targets where the backslash is a valid
24+
/* This test only makes sense on Windows targets, where the backslash is a valid
2525
* path separator.
2626
*/
2727
#pragma GCC dependency "oops\..\dr0xx.c"

0 commit comments

Comments
 (0)