llvm-for-llvmta/tools/clang/test/Modules/merge-function-defs.cpp

12 lines
253 B
C++

// RUN: rm -rf %t
// RUN: %clang_cc1 -I%S/Inputs/merge-function-defs -fmodules -fmodule-map-file=%S/Inputs/merge-function-defs/map -fmodules-cache-path=%t %s -emit-llvm-only
#include "b.h"
struct X {
virtual void f();
};
inline void X::f() {}
X x;