summaryrefslogtreecommitdiff
path: root/test/Modules/merge-function-defs.cpp
blob: 2f08f523c3aaa3987ea3b73dbb65791a2d8054e2 (plain)
1
2
3
4
5
6
7
8
9
10
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;