aboutsummaryrefslogtreecommitdiff
path: root/third_party/abseil-cpp/CMake/install_test_project/simple.cc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-04-13 01:22:24 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-04-13 01:22:24 +0000
commita9167328fc721c9637f0bcd87525cd23ff5ddac1 (patch)
tree2ce94d7f0804ccb77d1fa9b2a1bca00eecdff1e2 /third_party/abseil-cpp/CMake/install_test_project/simple.cc
parent7d5c00bbb9ff7b14de493bfa0ea56d4993f2e187 (diff)
parent2f9c4b2c3bdefdfda50f145f6de999bc76327337 (diff)
downloadwebrtc-a9167328fc721c9637f0bcd87525cd23ff5ddac1.tar.gz
Merge changes I0ab600cd,I1e74c64a am: 798f3afdf6 am: 2f9c4b2c3b
Original change: https://android-review.googlesource.com/c/platform/external/webrtc/+/2062410 Change-Id: I95fedf2237deb626f888e92e7fd42544b2906b61 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'third_party/abseil-cpp/CMake/install_test_project/simple.cc')
-rw-r--r--third_party/abseil-cpp/CMake/install_test_project/simple.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/abseil-cpp/CMake/install_test_project/simple.cc b/third_party/abseil-cpp/CMake/install_test_project/simple.cc
index e9e352912b..7daa7f0901 100644
--- a/third_party/abseil-cpp/CMake/install_test_project/simple.cc
+++ b/third_party/abseil-cpp/CMake/install_test_project/simple.cc
@@ -14,8 +14,17 @@
// limitations under the License.
#include <iostream>
+#include "absl/base/config.h"
#include "absl/strings/substitute.h"
+#if !defined(ABSL_LTS_RELEASE_VERSION) || ABSL_LTS_RELEASE_VERSION != 99998877
+#error ABSL_LTS_RELEASE_VERSION is not set correctly.
+#endif
+
+#if !defined(ABSL_LTS_RELEASE_PATCH_LEVEL) || ABSL_LTS_RELEASE_PATCH_LEVEL != 0
+#error ABSL_LTS_RELEASE_PATCH_LEVEL is not set correctly.
+#endif
+
int main(int argc, char** argv) {
for (int i = 0; i < argc; ++i) {
std::cout << absl::Substitute("Arg $0: $1\n", i, argv[i]);