diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-20 21:33:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-20 21:33:39 +0000 |
commit | 0151b7edb72a9d5d095bdf19a831cff28c07d3f5 (patch) | |
tree | 9563a3b47d88b01a654f09c14f1dd2e003fb4de9 /clang/test/FixIt/fixit.c | |
parent | 8bcc00b43e1ba1f76244cf72ef361c82969de307 (diff) | |
download | bcm5719-llvm-0151b7edb72a9d5d095bdf19a831cff28c07d3f5.tar.gz bcm5719-llvm-0151b7edb72a9d5d095bdf19a831cff28c07d3f5.zip |
fix the ?: fixit that ted added to recover properly.
llvm-svn: 101943
Diffstat (limited to 'clang/test/FixIt/fixit.c')
-rw-r--r-- | clang/test/FixIt/fixit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/FixIt/fixit.c b/clang/test/FixIt/fixit.c index 4c506df0163..9f858524c27 100644 --- a/clang/test/FixIt/fixit.c +++ b/clang/test/FixIt/fixit.c @@ -31,8 +31,8 @@ void f1(x, y) int i0 = { 17 }; -int test_cond(int y) { -// CHECK: int x = y ? 1 : 2; - int x = y ? 1 2; +int test_cond(int y, int fooBar) { +// CHECK: int x = y ? 1 : 4+fooBar; + int x = y ? 1 4+foobar; return x; } |