commit | db65ff72236ec43bb267f5943c74472068f73228 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon May 05 20:07:41 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon May 05 20:07:41 2008 +0000 |
tree | bf056b371c48256cd0fb6c8dd8238d17a55b5d54 | |
parent | 698de320d8fb0ec95624b622a4d800a4fffd0206 [diff] [blame] |
Fix a few more bugs in preprocessor expressions w.r.t. ?:. Now I think it is really right. :) This fixes PR2284. llvm-svn: 50665
diff --git a/clang/test/Preprocessor/expr_liveness.c b/clang/test/Preprocessor/expr_liveness.c index da30616..3f4003e 100644 --- a/clang/test/Preprocessor/expr_liveness.c +++ b/clang/test/Preprocessor/expr_liveness.c
@@ -30,6 +30,10 @@ #if 1 ? 2 ? 3 : 4 : 5 #endif +// PR2284 +#if 1 ? 0: 1 ? 1/0: 1/0 +#endif + #else