Add PR check to suggest alternatives to using undef (#118506)
[llvm-project.git] / clang / test / Modules / merge-function-defs.cpp
blob2f08f523c3aaa3987ea3b73dbb65791a2d8054e2
1 // RUN: rm -rf %t
2 // 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
4 #include "b.h"
6 struct X {
7 virtual void f();
8 };
9 inline void X::f() {}
11 X x;