fpc/tests/tbf
florian 29a5d3267c * moved warning about suspicious comp assignment to type check pass, catches also
assignments of constants

git-svn-id: trunk@49242 -
2021-04-21 19:51:22 +00:00
..
tb0001.pp
tb0002.pp
tb0004.pp
tb0005.pp
tb0006.pp
tb0007.pp
tb0008.pp
tb0009.pp
tb0010.pp
tb0011.pp
tb0012.pp
tb0013.pp
tb0014.pp
tb0015.pp
tb0016.pp
tb0017.pp
tb0018.pp
tb0019.pp
tb0020.pp
tb0021.pp
tb0022.pp
tb0023.pp
tb0024.pp
tb0025.pp
tb0026.pp
tb0027.pp
tb0028.pp
tb0029.pp
tb0030.pp
tb0031.pp
tb0032.pp
tb0033.pp
tb0034.pp
tb0035.pp
tb0036.pp
tb0037.pp
tb0038.pp
tb0039.pp
tb0040.pp
tb0041.pp
tb0042.pp
tb0043.pp
tb0044.pp
tb0045.pp
tb0046.pp
tb0047.pp
tb0048.pp
tb0049.pp
tb0050.pp
tb0051.pp
tb0052.pp
tb0053.pp
tb0054.pp
tb0055.pp
tb0056.pp
tb0057.pp
tb0058.pp
tb0059.pp
tb0060.pp
tb0061.pp
tb0062.pp
tb0063.pp
tb0064.pp
tb0065.pp
tb0066.pp
tb0067.pp
tb0068.pp
tb0069.pp
tb0071.pp
tb0072.pp
tb0073.pp
tb0074.pp
tb0075.pp
tb0076.pp
tb0077.pp
tb0078.pp
tb0079.pp
tb0080.pp
tb0081.pp
tb0082.pp
tb0083.pp
tb0084.pp
tb0085.pp
tb0086.pp
tb0087.pp
tb0088.pp
tb0089.pp
tb0090.pp
tb0091.pp
tb0092.pp
tb0093.pp
tb0094.pp
tb0095.pp
tb0096.pp
tb0097.pp
tb0098.pp
tb0099.pp
tb0100.pp
tb0101.pp
tb0102.pp
tb0103.pp
tb0104.pp
tb0105.pp
tb0106.pp
tb0107.pp
tb0107a.pp
tb0109.pp
tb0110.pp * Skip the test for aarch64. 2020-01-27 17:50:35 +00:00
tb0111.pp
tb0112.pp
tb0114.pp
tb0115.pp
tb0116.pp
tb0117.pp * skip test in general for 64 bit cpus 2015-02-23 22:54:31 +00:00
tb0118.pp
tb0119.pp
tb0120.pp
tb0121.pp
tb0123.pp
tb0124.pp
tb0125.pp
tb0126.pp
tb0127.pp
tb0128.pp Add %skiptarget=$nothread to tests using threads 2018-03-15 09:05:26 +00:00
tb0129.pp Add %skiptarget=$nothread to tests using threads 2018-03-15 09:05:26 +00:00
tb0131.pp
tb0132.pp
tb0133.pp
tb0134.pp
tb0135.pp
tb0136.pp
tb0137.pp
tb0138.pp
tb0139.pp
tb0140.pp
tb0141.pp
tb0142.pp
tb0143.pp
tb0144.pp
tb0145.pp
tb0146.pp
tb0147.pp
tb0148.pp
tb0149.pp
tb0150.pp
tb0152.pp
tb0153.pp
tb0154.pp
tb0155.pp
tb0155a.pp
tb0155b.pp
tb0156.pp
tb0157.pp
tb0158.pp
tb0159.pp
tb0160.pp
tb0161.pp
tb0162.pp
tb0163.pp
tb0164.pp
tb0165.pp
tb0166.pp
tb0167.pp
tb0168.pp
tb0169.pp
tb0170.pp
tb0171.pp
tb0172.pp
tb0173.pp
tb0174a.pp
tb0174b.pp
tb0174c.pp
tb0174d.pp
tb0175.pp
tb0176.pp
tb0177.pp
tb0178.pp
tb0179.pp
tb0180.pp
tb0181.pp
tb0182.pp
tb0183.pp
tb0184.pp
tb0185.pp
tb0186.pp
tb0187.pp
tb0189.pp
tb0190.pp
tb0191.pp
tb0192.pp
tb0193.pp
tb0194.pp
tb0195.pp
tb0196.pp
tb0197.pp
tb0198.pp
tb0199.pp
tb0199a.pp
tb0200.pp
tb0201.pp
tb0202.pp
tb0203.pp
tb0204.pp
tb0204a.pp
tb0205.pp
tb0206.pp
tb0207.pp
tb0208.pp
tb0209.pp
tb0210.pp
tb0210a.pp
tb0211.pp
tb0211a.pp
tb0212.pp
tb0213.pp
tb0214.pp
tb0214a.pp
tb0215.pp
tb0215a.pp
tb0215b.pp
tb0215c.pp
tb0215d.pp
tb0215e.pp
tb0216.pp
tb0217.pp
tb0218.pp
tb0219.pp
tb0220.pp + new test that should fail to compile, but doesn't yet 2011-02-27 18:03:04 +00:00
tb0221.pp * fixed crash when trying to index a record without a default property 2011-05-17 13:13:59 +00:00
tb0222.pp * corrected test (only "overload" differences between interface/ 2011-10-15 15:46:34 +00:00
tb0223.pp * moved test into the correct location and renamed 2012-01-07 21:56:23 +00:00
tb0224.pp Fix one problem type of Mantis #23546. A record must not contain a static array that uses itself as an element type (in can contain a dynamic array however) otherwise an infinite loop is encountered when checking whether the record needs special init/final code. 2013-01-09 14:07:01 +00:00
tb0225.pp Fix one problem type of Mantis #23546. A record must not contain a static array that uses itself as an element type (in can contain a dynamic array however) otherwise an infinite loop is encountered when checking whether the record needs special init/final code. 2013-01-09 14:07:01 +00:00
tb0226.pp Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future. 2013-01-10 16:23:00 +00:00
tb0227.pp Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future. 2013-01-10 16:23:00 +00:00
tb0228.pp Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future. 2013-01-10 16:23:00 +00:00
tb0229.pp Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future. 2013-01-10 16:23:00 +00:00
tb0230.pp Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future. 2013-01-10 16:23:00 +00:00
tb0231.pp Don't allow "static" for class operators or normal methods (except in objects). 2013-03-20 10:46:55 +00:00
tb0232.pp Don't allow "static" for class operators or normal methods (except in objects). 2013-03-20 10:46:55 +00:00
tb0233.pp Don't allow "static" for class operators or normal methods (except in objects). 2013-03-20 10:46:55 +00:00
tb0234.pp Added a test for a bug that was fixed in Delphi in (maybe XE4) to make sure that a similar bug will not be introduced in FPC. 2013-05-01 19:13:18 +00:00
tb0235.pp Add support for integer constants to SetPEFlags and SetPEOptFlags. This is Delphi compatible. 2013-06-13 10:51:42 +00:00
tb0236.pp Add support for integer constants to SetPEFlags and SetPEOptFlags. This is Delphi compatible. 2013-06-13 10:51:42 +00:00
tb0237.pp Add support for integer constants to SetPEFlags and SetPEOptFlags. This is Delphi compatible. 2013-06-13 10:51:42 +00:00
tb0238.pp Add support for integer constants to SetPEFlags and SetPEOptFlags. This is Delphi compatible. 2013-06-13 10:51:42 +00:00
tb0239.pp * disallow 64-bit property index specifiers on 64-bit CPUs, since they were not 2014-03-09 21:05:53 +00:00
tb0240.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0241.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0242.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0243.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0244.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0245.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0246.pp Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them. 2014-06-05 20:05:05 +00:00
tb0247.pp Add a new warning message that is generated if an instance of an abstract class is created. This message is disabled by default, but can be switched on by using {$warn 4122 on} or {$warn 4122 error}. 2014-07-01 20:41:05 +00:00
tb0248.pp * output a proper error message in case number+nil is encountered (just like 2014-07-15 22:26:58 +00:00
tb0249.pp + added test for the error checking for nil-number; tests already exist for 2014-07-18 12:09:27 +00:00
tb0250.pp Fix for Mantis #26481. This is a regression. 2015-01-16 16:05:53 +00:00
tb0251.pp + give an error if allocated temps. overflow the normally max. available space 2015-04-05 20:59:34 +00:00
tb0252a.pp * give an error when trying to get the address of an element of a dynamic 2016-06-12 09:20:57 +00:00
tb0252b.pp * give an error when trying to get the address of an element of a dynamic 2016-06-12 09:20:57 +00:00
tb0252c.pp * give an error when trying to get the address of an element of a dynamic 2016-06-12 09:20:57 +00:00
tb0253.pp * leave parse_proc_head() (with some error recovery) if the interface could not be found instead of running straight into an access violation 2016-11-28 17:54:48 +00:00
tb0254a.pp + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
tb0254b.pp + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
tb0255a.pp * Virtual methods cannot be declared as static (static virtual method has no sense). 2017-04-03 20:45:52 +00:00
tb0255b.pp * Virtual methods cannot be declared as static (static virtual method has no sense). 2017-04-03 20:45:52 +00:00
tb0255c.pp * Virtual methods cannot be declared as static (static virtual method has no sense). 2017-04-03 20:45:52 +00:00
tb0256.pp * fix for Mantis #30344: applied patch by Mario Ray Mahardhika to add new command line option -Sj[-|+] to control writeable typed constants (with a small adjustment to the help text) 2017-10-09 19:19:23 +00:00
tb0257a.pp * extend scanning of $modeswitch to support not only + and -, but also ON and OFF like other switches 2018-06-22 21:29:08 +00:00
tb0257b.pp * extend scanning of $modeswitch to support not only + and -, but also ON and OFF like other switches 2018-06-22 21:29:08 +00:00
tb0258.pp * Further improvement for r40180: 2018-11-04 15:37:52 +00:00
tb0259.pp * Further improvement for r40180: 2018-11-04 15:37:52 +00:00
tb0260.pp * Further improvement for r40180: 2018-11-04 15:37:52 +00:00
tb0261.pp * don't allow constants of the record type that is currently being parsed; this would fail as soon as another field is added after the constant declaration 2018-11-11 22:08:29 +00:00
tb0262.pp * don't allow constants of the record type that is currently being parsed; this would fail as soon as another field is added after the constant declaration 2018-11-11 22:08:29 +00:00
tb0263.pp * don't allow constants of the record type that is currently being parsed; this would fail as soon as another field is added after the constant declaration 2018-11-11 22:08:29 +00:00
tb0264.pp * don't allow constants of the record type that is currently being parsed; this would fail as soon as another field is added after the constant declaration 2018-11-11 22:08:29 +00:00
tb0265.pp * don't allow constants of the record type that is currently being parsed; this would fail as soon as another field is added after the constant declaration 2018-11-11 22:08:29 +00:00
tb0266a.pp * a property access list must only consist of record or object fields; classes are not allowed 2018-12-26 11:26:01 +00:00
tb0266b.pp * a property access list must only consist of record or object fields; classes are not allowed 2018-12-26 11:26:01 +00:00
tb0267.pp * stop searching for methods to implement interfaces in parent classes after 2018-12-28 18:25:58 +00:00
tb0268.pp * ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments) 2019-04-14 20:47:43 +00:00
tb0269.pp * ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments) 2019-04-14 20:47:43 +00:00
tb0270.pp * ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments) 2019-04-14 20:47:43 +00:00
tb0271.pp * check in the internal assembler for references with incorrect use of RIP 2019-11-13 20:47:42 +00:00
tb0272.pp * give an error when trying to define a macro/compiler variable with 2020-11-03 21:34:19 +00:00
tb0273.pp * apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions) 2020-12-18 13:50:39 +00:00
tb0274.pp * moved warning about suspicious comp assignment to type check pass, catches also 2021-04-21 19:51:22 +00:00
tb0588.pp Modify tbs/tb0588.pp to check that a warning is issued about non-initialized return value, moved to tbf directory 2018-12-11 08:47:59 +00:00
ub0115.pp
ub0149.pp
ub0158a.pp
ub0158b.pp
ub0234.pp Added a test for a bug that was fixed in Delphi in (maybe XE4) to make sure that a similar bug will not be introduced in FPC. 2013-05-01 19:13:18 +00:00
ub0234.ub0234.pp Added a test for a bug that was fixed in Delphi in (maybe XE4) to make sure that a similar bug will not be introduced in FPC. 2013-05-01 19:13:18 +00:00