Douglas Gregor | 05edf66 | 2011-10-17 14:55:37 +0000 | [diff] [blame^] | 1 | // 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 | |||||
7 | void test() { | ||||
8 | #ifdef FOO_RETURNS_INT_PTR | ||||
9 | int *ip = foo(); | ||||
10 | #else | ||||
11 | float *fp = foo(); | ||||
12 | #endif | ||||
13 | } |