Index: tools/clang/plugins/tests/inline_ctor.cpp |
diff --git a/tools/clang/plugins/tests/inline_ctor.cpp b/tools/clang/plugins/tests/inline_ctor.cpp |
index 6a751fb405072641b9acb62b0e2657a1f54801b1..f209b289f9a38b4ba361764ffb68090d88265a97 100644 |
--- a/tools/clang/plugins/tests/inline_ctor.cpp |
+++ b/tools/clang/plugins/tests/inline_ctor.cpp |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#define MACRO_FROM_CPP INLINE_CTORS_IN_A_MACRO(InlineCtorsInvolvingCppAreOK) |
+ |
#include "inline_ctor.h" |
#include <string> |
@@ -18,8 +20,13 @@ class InlineInCPPOK { |
std::vector<std::string> two_; |
}; |
+INLINE_CTORS_IN_A_MACRO(InlineCtorsBehindAMacroAreOKInCpp); |
+ |
int main() { |
InlineInCPPOK one; |
InlineCtorsArentOKInHeader two; |
+ InlineCtorsBehindAMacroArentOKInHeader three; |
+ InlineCtorsBehindAMacroAreOKInCpp four; |
+ InlineCtorsInvolvingCppAreOK five; |
return 0; |
} |