summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/PR26179/basic_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/PR26179/basic_string.h')
-rw-r--r--test/Modules/Inputs/PR26179/basic_string.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Modules/Inputs/PR26179/basic_string.h b/test/Modules/Inputs/PR26179/basic_string.h
new file mode 100644
index 000000000000..653ce078451c
--- /dev/null
+++ b/test/Modules/Inputs/PR26179/basic_string.h
@@ -0,0 +1,12 @@
+#ifndef _GLIBCXX_STRING
+#define _GLIBCXX_STRING 1
+
+template<typename T>
+struct basic_string {
+ static T _S_empty_rep_storage[];
+};
+
+template<typename T>
+T basic_string<T>::_S_empty_rep_storage[sizeof(T)];
+
+#endif