]> granicus.if.org Git - clang/commit
Fix and restore the macro-multiline.c test
authorAlp Toker <alp@nuanti.com>
Sat, 19 Apr 2014 21:40:58 +0000 (21:40 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 19 Apr 2014 21:40:58 +0000 (21:40 +0000)
commit93f93a33958adc07a3bf2adb213ebc25e620e5f6
tree9c6a41ca6ab271dc3abf374a28747d9cc65c08ed
parent3eb0b40068340eaf0a269bda288d2fcca29262ef
Fix and restore the macro-multiline.c test

This test didn't work as intended and was ultimately disabled some years ago in
r169458.

Indeed it's not clear if the '\n' was ever passed through to the driver
correctly given that lit would insert '&& {' at the newline.

Test rewritten to use printf/xargs to insert '\n' in a more reliable manner and
to use FileCheck for verification.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206703 91177308-0d34-0410-b5e6-96231b3b80d8
test/Preprocessor/macro-multiline.c [new file with mode: 0644]
test/Preprocessor/macro-multiline.c.ignoreme [deleted file]