Add missing function in 20_util/exchange/1.cc.
commit37ea0d87a36e36b706fb32491118e0da2a530099
authorDiego Novillo <dnovillo@google.com>
Tue, 15 Oct 2013 18:51:37 +0000 (15 14:51 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Tue, 15 Oct 2013 18:51:37 +0000 (15 14:51 -0400)
tree76551f1ee05f51bbc7792449de48c0b51a1151e1
parent1602204161a775e9d03057565b85cfbcbd5f29c9
Add missing function in 20_util/exchange/1.cc.

When this test is compiled at -O0, the compiler does not remove the
address comparison. This causes a link failure, since the body of f()
is missing.

* testsuite/20_util/exchange/1.cc: Add missing function
bodies.

From-SVN: r203629
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/exchange/1.cc