diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2001-06-08 23:22:26 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-06-08 23:22:26 +0000 |
commit | de96ac4681ebe2284a43c4e37e23e92cf6c8ec58 (patch) | |
tree | 5b2ccfa15614160e0477485463b1b2a6313742bd /libstdc++-v3/testsuite/17_intro | |
parent | 86c99549914362bc54b0872166324522901c2ca1 (diff) | |
download | gcc-de96ac4681ebe2284a43c4e37e23e92cf6c8ec58.zip gcc-de96ac4681ebe2284a43c4e37e23e92cf6c8ec58.tar.gz gcc-de96ac4681ebe2284a43c4e37e23e92cf6c8ec58.tar.bz2 |
*: Add copyright notice.
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2767
libstdc++/2989
libstdc++/2992
* include/std/*: Add copyright notice.
* include/c_std/bits/*: Use using statements instead of extern "C".
* include/c_std/bits/std_cmath.h: Don't overload double versions
of math functions with __buitin versions, use global version to
prevent ambiguities. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Using declarations for "C"
functions that have changed signatures and std::
declarations. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
__builtins in std::. Remove define hacks.
* testsuite/17_intro/headers_c.cc: Add tests.
* testsuite/17_intro/headers_c++.cc: Add test.
From-SVN: r43061
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers_c++.cc | 14 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers_c.cc | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers_c++.cc b/libstdc++-v3/testsuite/17_intro/headers_c++.cc index ad75bca..cb6a71d 100644 --- a/libstdc++-v3/testsuite/17_intro/headers_c++.cc +++ b/libstdc++-v3/testsuite/17_intro/headers_c++.cc @@ -67,4 +67,18 @@ #include <wctype.h> #endif +// libstdc++/2992 +namespace bar +{ + int foo(const char *x) + { return strlen(x); } +}; + + int main() { return 0; } + + + + + + diff --git a/libstdc++-v3/testsuite/17_intro/headers_c.cc b/libstdc++-v3/testsuite/17_intro/headers_c.cc index 5831887..b4fe658 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; } |