]> git.ozlabs.org Git - ccan/commit
cppmagic: Tweak testcase to work on older clang versions
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 21 Nov 2016 14:05:37 +0000 (01:05 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 21 Nov 2016 14:05:37 +0000 (01:05 +1100)
commitadaf79a8acb1b4d33cf1eb030659fbc5fae86f98
treea4cd266efeba760d10775c1d26a5b3c84d363300
parent294fb52e52d49538451087719354c4965bd8d49b
cppmagic: Tweak testcase to work on older clang versions

clang version 3.4, for whatever reason, expands a few of the testcases
in cppmagic with slightly different whitespace from what we expect.  Since
this was changed in later clang versions, it was probably a compiler bug,
but it turns out an extra space in the testcase can make it pass on clang
3.4 as well.  This means we finally have clang builds working in Travis.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/cppmagic/test/run.c