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