Merge "Add testcase for fixes on GNU4.7/4.8/4.9 libstdc++ for clang"
diff --git a/tests/build/clang-include-gnu-libc++/jni/Android.mk b/tests/build/clang-include-gnu-libc++/jni/Android.mk
new file mode 100644
index 0000000..176e75f
--- /dev/null
+++ b/tests/build/clang-include-gnu-libc++/jni/Android.mk
@@ -0,0 +1,7 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := clang-include-gnu-libc++
+LOCAL_SRC_FILES := clang-include-gnu-libc++.cc
+LOCAL_CPPFLAGS += -std=gnu++11
+include $(BUILD_EXECUTABLE)
diff --git a/tests/build/clang-include-gnu-libc++/jni/Application.mk b/tests/build/clang-include-gnu-libc++/jni/Application.mk
new file mode 100644
index 0000000..19b4698
--- /dev/null
+++ b/tests/build/clang-include-gnu-libc++/jni/Application.mk
@@ -0,0 +1,2 @@
+APP_ABI := all
+APP_STL := gnustl_shared
\ No newline at end of file
diff --git a/tests/build/clang-include-gnu-libc++/jni/clang-include-gnu-libc++.cc b/tests/build/clang-include-gnu-libc++/jni/clang-include-gnu-libc++.cc
new file mode 100644
index 0000000..b970ed3
--- /dev/null
+++ b/tests/build/clang-include-gnu-libc++/jni/clang-include-gnu-libc++.cc
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2010 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include <ext/atomicity.h>
+#include <type_traits>
+
+int main()
+{
+}