blob: e88f8a87911479a20126fd4d8da92e8a3bdbf25b [file] [log] [blame]
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -std=c++26 -fmodules-cache-path=%t -I %S/Inputs/PR137102 -emit-llvm-only %s
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -std=c++26 -fmodules-cache-path=%t -I %S/Inputs/PR137102 -emit-llvm-only %s -triple i686-windows
#include "type_aware_destroying_new_delete.h"
static void call_in_module_function(void) {
in_module_tests();
}
void out_of_module_tests() {
A* a = new A;
delete a;
B *b = new B;
delete b;
C *c = new C;
delete c;
D *d = new D;
delete d;
E *e = new E;
delete e;
}