[AArch64][GlobalISel] Add disjoint handling for add_and_or_is_add. (#123594)
[llvm-project.git] / clang / test / Modules / gmodules-codegenopts.c
blob417bbb9cecefc118bebd9c0735503858ce84e7ae
1 // UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
2 // Check that the output from -gmodules can be loaded back by the compiler in
3 // the presence of certain options like optimization level that could break
4 // output. Note: without compiling twice the module is loaded from the in-memory
5 // module cache not load it from the object container.
7 // RUN: rm -rf %t
8 // RUN: %clang_cc1 -x objective-c -fmodules -fmodule-format=obj \
9 // RUN: -fimplicit-module-maps -fmodules-cache-path=%t %s \
10 // RUN: -I %S/Inputs -verify -O2
12 // Compile again, confirming we can load the module.
13 // RUN: %clang_cc1 -x objective-c -fmodules -fmodule-format=obj \
14 // RUN: -fimplicit-module-maps -fmodules-cache-path=%t %s \
15 // RUN: -I %S/Inputs -verify -O2
17 @import DebugObjC;
18 // expected-no-diagnostics