================
Comment at: unittests/clang-query/QueryParserTest.cpp:123
@@ +122,3 @@
+  ASSERT_TRUE(isa<InvalidQuery>(Q));
+  EXPECT_EQ("expected variable name", cast<InvalidQuery>(Q)->ErrStr);
+}
----------------
Peter Collingbourne wrote:
> Samuel Benzaquen wrote:
> > Peter Collingbourne wrote:
> > > Please also test that extra stuff after the unlet query causes an error.
> > I'm sorry, but I don't know what extra stuff you are referring to.
> Sorry if I wasn't clear. I meant that if for example the query was something 
> like "unlet x foo" we should reject it because of the extra input "foo" at 
> the end.
Done.


http://reviews.llvm.org/D3383



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to