Created
July 31, 2013 10:10
-
-
Save chapuni/6120897 to your computer and use it in GitHub Desktop.
Testscases for llvm/test/FileCheck/simple-var-capture.txt, about variables with backslashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variable should be matched to backslashes. | |
posix: /path/to/posix/file | |
dos: c:\path\to\dos\file | |
dosx: d:\\path\\to\\escaped\\file | |
CHECK: posix: [[POSIX:.*]]/file | |
CHECK: dos: [[DOS:.*]]/file | |
CHECK: posix: [[DOSX:.*]]/file | |
POSIX should be matched to /path/to/posix/file(/path/to/posix) | |
DOS should be matched to c:\path\to\dos\file(c:\path\to\dos) | |
DOSX should be matched to d:\\path\\to\\escaped\\file(d:\\path\\to\\escaped) | |
CHECK: [[POSIX]]/file([[POSIX]]) | |
CHECK: [[DOS]]\file([[DOS]]) | |
CHECK: [[DOSX]]\\file([[DOSX]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment