commit | f23cf00027c9568c5f3a63f241314c6c5cb614b0 | [log] [tgz] |
---|---|---|
author | Abseil Team <absl-team@google.com> | Wed Jan 27 16:30:26 2021 -0800 |
committer | Dino Radaković <dinor@google.com> | Fri Feb 05 10:39:47 2021 -0800 |
tree | db5d4c3807285952359d8a4322b44c4dd0442f3a | |
parent | 726118846d2ad431e40f3c9690962eb2eaed813b [diff] |
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
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 @@ } else {\ return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\ }\ -} +}\ +static_assert(true, "Consume semicolon.") // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.