diff options
Diffstat (limited to 'test/cxx/preproc')
-rwxr-xr-x | test/cxx/preproc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cxx/preproc b/test/cxx/preproc new file mode 100755 index 00000000..2661a197 --- /dev/null +++ b/test/cxx/preproc @@ -0,0 +1,5 @@ +#!/bin/bash +# + +echo 'struct __builtin_va_list {};' +g++ -E -undef -D'__attribute__(xyz)=' "$@" | sed 's/#.*$//' | grep -v '^[ \t]*$' |