summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorNathan Lanza <nathan@lanza.io>2019-07-16 02:05:52 +0000
committerNathan Lanza <nathan@lanza.io>2019-07-16 02:05:52 +0000
commit49e14cefbe42262b0dc6e4daa8ac4e48fed8cec5 (patch)
tree5e1cac4c7a1c454b69103e38a04ecf9073238522 /clang/test/Preprocessor/init.c
parent492ce8cc8b0831924f7f0479f37f2e708a8dad3f (diff)
downloadbcm5719-llvm-49e14cefbe42262b0dc6e4daa8ac4e48fed8cec5.tar.gz
bcm5719-llvm-49e14cefbe42262b0dc6e4daa8ac4e48fed8cec5.zip
Change a lit test to permit vendor specific clang version
A test manually checks for the string `__VERSION__ "Clang`. This needs to permit vendor specific variants. llvm-svn: 366166
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index d2d7efc0ae7..954f02a0143 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/test/Preprocessor/init.c
@@ -9041,7 +9041,7 @@
// X86_64-CLOUDABI:#define __UINT_LEAST8_MAX__ 255
// X86_64-CLOUDABI:#define __UINT_LEAST8_TYPE__ unsigned char
// X86_64-CLOUDABI:#define __USER_LABEL_PREFIX__
-// X86_64-CLOUDABI:#define __VERSION__ "Clang{{.*}}
+// X86_64-CLOUDABI:#define __VERSION__ "{{.*}}Clang{{.*}}
// X86_64-CLOUDABI:#define __WCHAR_MAX__ 2147483647
// X86_64-CLOUDABI:#define __WCHAR_TYPE__ int
// X86_64-CLOUDABI:#define __WCHAR_WIDTH__ 32
OpenPOWER on IntegriCloud