]> git.saurik.com Git - bison.git/commit
tests: c++: fix symbol lookup issue
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 26 Jan 2015 17:23:12 +0000 (18:23 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 26 Jan 2015 17:44:38 +0000 (18:44 +0100)
commit952416114729b95209dccfc4edacfc1ff13b4e82
treeb98272710071fff3dc6013d86b1f830180da7178
parent7ca7a3abf3947fc419cbd63de344c2da739adad0
tests: c++: fix symbol lookup issue

Sun C 5.13 SunOS_sparc 2014/10/20 reports errors on tests 430-432.

Reported by Dennis Clarke.
<http://lists.gnu.org/archive/html/bug-bison/2015-01/msg00087.html>

* tests/c++.at (Variants): Be sure to emit operator<< before using it:
use "%code top" rather than "%code".
Prefer std::vector to std::list.
Do not define anything in std::, to avoid undefined behavior.
tests/c++.at