llvm-capstone/clang/test/Modules/merge-function-defs.cpp
Richard Smith 76ea19641e [modules] Additional tests.
llvm-svn: 293223
2017-01-26 23:07:59 +00:00

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;