llvm-project/clang/test/Modules/merge-function-defs.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
253 B
C++
Raw Normal View History

// 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;