summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-11-26 06:21:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-11-26 06:21:20 +0000
commit4c7ce36a761b65a659aa6c4728a318e5d06f5f95 (patch)
treeefd8aa2d81752aac3f3f36c6c739e4a7eb5e486a /test/Preprocessor
parentc8ff915c4bafe520548cc29d342951da23591ae1 (diff)
Set __OPTIMIZE_SIZE__ on -Os and -Oz. This matches gcc's behaviour on both OS X
and linux. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor')
-rw-r--r--test/Preprocessor/optimize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Preprocessor/optimize.c b/test/Preprocessor/optimize.c
index c820ded909..97f841a6fb 100644
--- a/test/Preprocessor/optimize.c
+++ b/test/Preprocessor/optimize.c
@@ -23,7 +23,7 @@
#ifndef __OPTIMIZE__
#error "__OPTIMIZE__ not defined"
#endif
- #ifdef __OPTIMIZE_SIZE__
+ #ifndef __OPTIMIZE_SIZE__
#error "__OPTIMIZE_SIZE__ not defined"
#endif
#endif