diff options
Diffstat (limited to 'test/Parser/objcxx0x-lambda-expressions.mm')
-rw-r--r-- | test/Parser/objcxx0x-lambda-expressions.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/objcxx0x-lambda-expressions.mm b/test/Parser/objcxx0x-lambda-expressions.mm index c6ed121..0f3e948 100644 --- a/test/Parser/objcxx0x-lambda-expressions.mm +++ b/test/Parser/objcxx0x-lambda-expressions.mm @@ -21,7 +21,7 @@ class C { [foo(bar)] () {}; [foo = bar] () {}; - [foo{bar}] () {}; // expected-error {{<initializer_list>}} expected-warning {{will change meaning}} + [foo{bar}] () {}; [foo = {bar}] () {}; // expected-error {{<initializer_list>}} [foo(bar) baz] () {}; // expected-error {{called object type 'int' is not a function}} |