1 // RUN: rm -rf %t 2 // RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11 3 4 // expected-no-diagnostics 5 6 @import cxx_decls.imported; 7 test_delete(int * p)8void test_delete(int *p) { 9 // We can call the normal global deallocation function even though it has only 10 // ever been explicitly declared in an unimported submodule. 11 delete p; 12 } 13