diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-05-05 20:07:41 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-05-05 20:07:41 +0000 |
| commit | db65ff72236ec43bb267f5943c74472068f73228 (patch) | |
| tree | bf056b371c48256cd0fb6c8dd8238d17a55b5d54 /clang/test/Preprocessor/expr_liveness.c | |
| parent | 698de320d8fb0ec95624b622a4d800a4fffd0206 (diff) | |
| download | bcm5719-llvm-db65ff72236ec43bb267f5943c74472068f73228.tar.gz bcm5719-llvm-db65ff72236ec43bb267f5943c74472068f73228.zip | |
Fix a few more bugs in preprocessor expressions w.r.t. ?:. Now I
think it is really right. :) This fixes PR2284.
llvm-svn: 50665
Diffstat (limited to 'clang/test/Preprocessor/expr_liveness.c')
| -rw-r--r-- | clang/test/Preprocessor/expr_liveness.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/expr_liveness.c b/clang/test/Preprocessor/expr_liveness.c index da30616284c..3f4003ea3af 100644 --- a/clang/test/Preprocessor/expr_liveness.c +++ b/clang/test/Preprocessor/expr_liveness.c @@ -30,6 +30,10 @@ bar #if 1 ? 2 ? 3 : 4 : 5 #endif +// PR2284 +#if 1 ? 0: 1 ? 1/0: 1/0 +#endif + #else |

