Squashed 'third_party/google-glog/' content from commit 5d46e1b

Change-Id: I4d7d0b2759aa01069e6990109ae0f5f9897512c4
git-subtree-dir: third_party/google-glog
git-subtree-split: 5d46e1bcfc92bf06a9ca3b3f1c5bb1dc024d9ecd
diff --git a/bazel/example/main.cc b/bazel/example/main.cc
new file mode 100644
index 0000000..fef01dc
--- /dev/null
+++ b/bazel/example/main.cc
@@ -0,0 +1,22 @@
+#include <gflags/gflags.h>
+#include <glog/logging.h>
+#include <glog/stl_logging.h>
+
+int main(int argc, char* argv[]) {
+  // Initialize Google's logging library.
+  google::InitGoogleLogging(argv[0]);
+
+  // Optional: parse command line flags
+  gflags::ParseCommandLineFlags(&argc, &argv, true);
+
+  LOG(INFO) << "Hello, world!";
+
+  // glog/stl_logging.h allows logging STL containers.
+  std::vector<int> x;
+  x.push_back(1);
+  x.push_back(2);
+  x.push_back(3);
+  LOG(INFO) << "ABC, it's easy as " << x;
+
+  return 0;
+}