Home | History | Annotate | Download | only in Modules
      1 // RUN: rm -rf %t
      2 // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -DFOO_RETURNS_INT_PTR -verify %s
      3 // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -verify %s
      4 
      5 @__experimental_modules_import CmdLine;
      6 
      7 void test() {
      8 #ifdef FOO_RETURNS_INT_PTR
      9   int *ip = foo();
     10 #else
     11   float *fp = foo();
     12 #endif
     13 }
     14