From: Akim Demaille Date: Tue, 19 Feb 2013 16:44:08 +0000 (+0100) Subject: tests: fix invalid C++11 code X-Git-Tag: v2.7.90~72 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/e39fcdda38f0b334baf3cd4556a218129cd151f7?hp=e39fcdda38f0b334baf3cd4556a218129cd151f7 tests: fix invalid C++11 code * tests/c++.at (Object): Somehow instances of Object were assigned YY_NULL, which is 0 most of the time (that case passes), but is nullptr in C++11, and there is nothing in Object to support such an assignment (failure). Use 0 as value, and provide the needed assignment operator. Also, use a more natural order within the class definition. ---