2 This is a clang style test case for checking that preprocessor
7 RUN: for arch in -m32 -m64; do \
8 RUN: for lang in -std=gnu89 -ansi -std=c99 -std=gnu99; do \
9 RUN: for input in c objective-c; do \
10 RUN: for opts in "-O0" "-O1 -dynamic" "-O2 -static" "-Os"; do \
11 RUN: echo "-- $arch, $lang, $input, $opts --"; \
12 RUN: for cc in 0 1; do \
13 RUN: if [ "$cc" == 0 ]; then \
20 RUN: $cc_prog $arch $lang $opts -march=core2 -dM -E -x $input %s | sort > $output; \
22 RUN: if (! diff %t0 %t1); then exit 1; fi; \
29 /* We don't care about this difference */
39 /* Undefine things we don't expect to match. */
44 /* Undefine things we don't expect to match. */
45 #undef __DEC_EVAL_METHOD__
59 #undef __tune_nocona__
61 #undef __POINTER_WIDTH__
62 #undef __INTPTR_TYPE__
63 #undef __NO_MATH_INLINES
66 #undef __DEC128_EPSILON__
67 #undef __DEC128_MANT_DIG__
68 #undef __DEC128_MAX_EXP__
70 #undef __DEC128_MIN_EXP__
73 #undef __DEC32_EPSILON__
74 #undef __DEC32_MANT_DIG__
75 #undef __DEC32_MAX_EXP__
77 #undef __DEC32_MIN_EXP__
80 #undef __DEC64_EPSILON__
81 #undef __DEC64_MANT_DIG__
82 #undef __DEC64_MAX_EXP__
84 #undef __DEC64_MIN_EXP__