xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/macro-undef-through-pch.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc// RUN: rm -rf %t
2*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -x objective-c-header -fmodules -fmodules-cache-path=%t \
3*0a6a1f1dSLionel Sambuc// RUN:            -I%S/Inputs/macro-undef-through-pch -emit-pch \
4*0a6a1f1dSLionel Sambuc// RUN:            %S/Inputs/macro-undef-through-pch/foo.h -o %t.pch
5*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -x objective-c -fmodules -fmodules-cache-path=%t \
6*0a6a1f1dSLionel Sambuc// RUN:            -I%S/Inputs/macro-undef-through-pch -emit-pch \
7*0a6a1f1dSLionel Sambuc// RUN:            -include-pch %t.pch %s
8*0a6a1f1dSLionel Sambuc
9*0a6a1f1dSLionel Sambuc// PR19215
10*0a6a1f1dSLionel Sambuc#undef AB
11