1 // RUN: rm -rf %t 2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x c++ -I%S/Inputs/merge-lifetime-extended-temporary -verify -std=c++11 %s -DORDER=1 3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x c++ -I%S/Inputs/merge-lifetime-extended-temporary -verify -std=c++11 %s -DORDER=2 4 5 // expected-no-diagnostics 6 #if ORDER == 1 7 #include "c.h" 8 #include "b.h" 9 #else 10 #include "b.h" 11 #include "c.h" 12 #endif 13 14 static_assert(PtrTemp1 == &LETemp, ""); 15 static_assert(PtrTemp1 == PtrTemp2, ""); 16