r223935 - Added a testcase to make sure the parser allows
Sean Callanan
scallanan at apple.com
Wed Dec 10 10:57:09 PST 2014
Author: spyffe
Date: Wed Dec 10 12:57:09 2014
New Revision: 223935
URL: http://llvm.org/viewvc/llvm-project?rev=223935&view=rev
Log:
Added a testcase to make sure the parser allows
but ignores module imports in debugger mode,
even inside functions.
Added:
cfe/trunk/test/Parser/debugger-import-module.m
Added: cfe/trunk/test/Parser/debugger-import-module.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/debugger-import-module.m?rev=223935&view=auto
==============================================================================
--- cfe/trunk/test/Parser/debugger-import-module.m (added)
+++ cfe/trunk/test/Parser/debugger-import-module.m Wed Dec 10 12:57:09 2014
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fsyntax-only -fdebugger-support -verify %s
+// expected-no-diagnostics
+
+void importAModule() {
+ @import AModuleThatDoesntExist
+}
More information about the cfe-commits
mailing list