blob: 96abb2331f100d9bccdb011068fbb9c2c53e7c0d [file] [log] [blame]
Douglas Gregor05edf662011-10-17 14:55:37 +00001// RUN: rm -rf %t
2// RUN: %clang_cc1 -fmodule-cache-path %t -F %S/Inputs -DFOO_RETURNS_INT_PTR -verify %s
3// RUN: %clang_cc1 -fmodule-cache-path %t -F %S/Inputs -verify %s
4
5__import_module__ CmdLine;
6
7void test() {
8#ifdef FOO_RETURNS_INT_PTR
9 int *ip = foo();
10#else
11 float *fp = foo();
12#endif
13}