diff options
author | Abseil Team <absl-team@google.com> | 2021-01-28 00:30:26 (GMT) |
---|---|---|
committer | Dino Radaković <dinor@google.com> | 2021-02-05 18:39:47 (GMT) |
commit | f23cf00027c9568c5f3a63f241314c6c5cb614b0 (patch) | |
tree | db5d4c3807285952359d8a4322b44c4dd0442f3a /googletest | |
parent | 726118846d2ad431e40f3c9690962eb2eaed813b (diff) | |
download | googletest-f23cf00027c9568c5f3a63f241314c6c5cb614b0.zip googletest-f23cf00027c9568c5f3a63f241314c6c5cb614b0.tar.gz googletest-f23cf00027c9568c5f3a63f241314c6c5cb614b0.tar.bz2 |
Googletest export
Address `-Wpedantic` issue introduced in https://github.com/google/googletest/pull/3204
Raised via https://github.com/google/googletest/commit/4898cdacfec11e71fa3083cdbc935852ad8162e9#commitcomment-46413996
PiperOrigin-RevId: 354198931
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/include/gtest/gtest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index 6c305bc..71edf33 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -1616,7 +1616,8 @@ AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \ } else {\ return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\ }\ -} +}\ +static_assert(true, "Consume semicolon.") // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM. |