xref: /aosp_15_r20/external/clang/test/Modules/update-exception-spec.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: rm -rf %t
2*67e74705SXin Li // RUN: %clang_cc1 -fexceptions -fcxx-exceptions -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/update-exception-spec -emit-llvm-only %s
3*67e74705SXin Li #include "a.h"
4*67e74705SXin Li void use(B *p);
5*67e74705SXin Li #include "c.h"
use(B * p)6*67e74705SXin Li void use(B *p) { g(p); }
7