llvm-capstone/clang/test/Parser/debugger-import-module.m
Sean Callanan 76c1d958fb Added a testcase to make sure the parser allows
but ignores module imports in debugger mode,
even inside functions.

llvm-svn: 223935
2014-12-10 18:57:09 +00:00

7 lines
149 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -fdebugger-support -verify %s
// expected-no-diagnostics
void importAModule() {
@import AModuleThatDoesntExist
}