diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
commit | 7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch) | |
tree | c72b9241553fc9966179aba84f90f17bfa9235c3 /test/Modules/merge-function-defs.cpp | |
parent | b52119637f743680a99710ce5fdb6646da2772af (diff) |
Diffstat (limited to 'test/Modules/merge-function-defs.cpp')
-rw-r--r-- | test/Modules/merge-function-defs.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Modules/merge-function-defs.cpp b/test/Modules/merge-function-defs.cpp new file mode 100644 index 0000000000000..2f08f523c3aaa --- /dev/null +++ b/test/Modules/merge-function-defs.cpp @@ -0,0 +1,11 @@ +// 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; |