Stephen Kelly
69182ce4ed
Features: Ensure that the cxx_auto_type test is correct.
...
SolarisStudio considers 'auto' to be a storage class specifier in
C++98 mode (as appropriate), and considers variables without a specified
type to be of type int. So, it treats
auto x = 3.14;
as
auto int x = 3.14;
which in C++98 mode is equivalent to
int x = 3.14;
and it does not fail to compile as expected.
Change the test to use a reference so that the type must be known.
2015-01-17 14:48:27 +01:00
..
2014-05-15 00:15:18 +02:00
2014-05-15 00:15:18 +02:00
2014-05-15 00:15:18 +02:00
2014-05-15 00:15:18 +02:00
2015-01-16 00:11:01 +01:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:56 +02:00
2015-01-17 14:48:27 +01:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:54 +02:00
2014-05-22 18:01:23 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:58 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:55 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:57 +02:00
2015-01-15 22:13:22 +01:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:58 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-05-22 18:01:23 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:54 +02:00
2014-04-16 15:16:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2015-01-15 22:13:22 +01:00
2014-11-20 18:24:59 +01:00
2015-01-15 22:13:22 +01:00
2014-05-09 14:39:30 +02:00
2015-01-15 21:51:18 +01:00
2014-04-07 18:11:18 +02:00