summaryrefslogtreecommitdiff
path: root/test/Parser/objcxx0x-lambda-expressions.mm
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-02-14 12:18:48 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-02-14 12:18:48 +0000
commitec12bbe359799efc32df6bde5e872cb2713c0b19 (patch)
treedfd4e4f0fa9ce6e010e098662d5f00a37c9ff0e3 /test/Parser/objcxx0x-lambda-expressions.mm
parent9e435806aaf5bd7e974d317ef247f200200ad686 (diff)
Diffstat (limited to 'test/Parser/objcxx0x-lambda-expressions.mm')
-rw-r--r--test/Parser/objcxx0x-lambda-expressions.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/objcxx0x-lambda-expressions.mm b/test/Parser/objcxx0x-lambda-expressions.mm
index bef576a9d2045..3954a807a5fb7 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>}}
+ [foo{bar}] () {}; // expected-error {{<initializer_list>}} expected-warning {{will change meaning}}
[foo = {bar}] () {}; // expected-error {{<initializer_list>}}
[foo(bar) baz] () {}; // expected-error {{called object type 'int' is not a function}}