summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/17_intro/headers_c.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro/headers_c.cc')
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers_c.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers_c.cc b/libstdc++-v3/testsuite/17_intro/headers_c.cc
index 5831887e448..b4fe65895d9 100644
--- a/libstdc++-v3/testsuite/17_intro/headers_c.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers_c.cc
@@ -67,4 +67,12 @@
#include <cwctype>
#endif
+// libstdc++/2992
+namespace bar
+{
+ int foo(const char *x)
+ { return strlen(x); }
+};
+
+
int main() { return 0; }