diff options
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro/headers_c.cc')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers_c.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers_c.cc b/libstdc++-v3/testsuite/17_intro/headers_c.cc index 406bc9802e4..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 -int main() { } // { dg-do compile } +// libstdc++/2992 +namespace bar +{ + int foo(const char *x) + { return strlen(x); } +}; + + +int main() { return 0; } |