xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/update-after-load.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: rm -rf %t
2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -fmodules -I %S/Inputs/update-after-load -verify -fmodules-cache-path=%t %s
3*0a6a1f1dSLionel Sambuc 
4*0a6a1f1dSLionel Sambuc // expected-no-diagnostics
5*0a6a1f1dSLionel Sambuc #include "a.h"
6*0a6a1f1dSLionel Sambuc namespace llvm {}
7*0a6a1f1dSLionel Sambuc #include "b.h"
f()8*0a6a1f1dSLionel Sambuc void llvm::f() {}
9