Add a test that uses C++11 features as a compiler canary.
BUG=skia:
R=bungeman@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/568913002
diff --git a/tests/Cpp11Test.cpp b/tests/Cpp11Test.cpp
new file mode 100644
index 0000000..627c4d4
--- /dev/null
+++ b/tests/Cpp11Test.cpp
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "Test.h"
+
+DEF_TEST(Cpp11, r) {
+ auto square = [](int x){ return x*x; };
+
+ REPORTER_ASSERT(r, square(4) == 16);
+}