llvm-project/clang/test/Modules/update-after-load.cpp
Richard Smith d91747980a If a visibility update record is found for a DeclContext after that Decl has
already been loaded, apply that update record to the Decl immediately, rather
than adding it to a pending list and never applying it.

llvm-svn: 203534
2014-03-11 03:10:46 +00:00

9 lines
207 B
C++

// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -I %S/Inputs/update-after-load -verify -fmodules-cache-path=%t %s
// expected-no-diagnostics
#include "a.h"
namespace llvm {}
#include "b.h"
void llvm::f() {}