| Index: compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| index 957d5e66fc593c4ddf70b19814c30844661a4c83..cd2aa9496feadf8776e9dac2784f4d5ac18d94b7 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| @@ -668,4 +668,16 @@ public class NegativeParserTest extends CompilerTestCase {
|
| "}",
|
| ""));
|
| }
|
| +
|
| + /**
|
| + * We can parse operator "call" declaration.
|
| + */
|
| + public void test_operator_call() {
|
| + parseExpectErrors(Joiner.on("\n").join(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "class A {",
|
| + " operator call() {}",
|
| + "}",
|
| + ""));
|
| + }
|
| }
|
|
|