blob: 2191499cec3246367efb7f2d4640a1c857687fc4 [file] [log] [blame]
// RUN: mkdir -p %t
// RUN: rm -f %t/Module.pcm
// RUN: %clang_cc1 -fmodule-cache-path %t -F %S/Inputs -verify %s
__import_module__ Module;
void test_getModuleVersion() {
int version = getModuleVersion(); // expected-warning{{incompatible pointer to integer conversion initializing 'int' with an expression of type 'const char *'}}
int version2 = [Module version]; // expected-warning{{incompatible pointer to integer conversion initializing 'int' with an expression of type 'const char *'}}
}