C++: Remove unnecessary testcase

This commit is contained in:
Mathias Vorreiter Pedersen
2020-01-16 15:10:37 +01:00
parent 1bc3829a72
commit 04ef4d102d
3 changed files with 0 additions and 7 deletions

View File

@@ -18,4 +18,3 @@
| test.c:58:3:58:24 | call to defined_with_long_long | Calling $@: argument $@ of type $@ is incompatible with parameter $@. | test.c:103:11:103:32 | defined_with_long_long | defined_with_long_long | test.c:58:26:58:26 | 3 | 3 | file://:0:0:0:0 | int | int | test.c:103:44:103:45 | ll | long long ll |
| test.c:60:3:60:21 | call to defined_with_double | Calling $@: argument $@ of type $@ is incompatible with parameter $@. | test.c:99:8:99:26 | defined_with_double | defined_with_double | test.c:60:23:60:25 | 2 | 2 | file://:0:0:0:0 | long long | long long | test.c:99:35:99:35 | d | double d |
| test.c:61:3:61:24 | call to defined_with_long_long | Calling $@: argument $@ of type $@ is incompatible with parameter $@. | test.c:103:11:103:32 | defined_with_long_long | defined_with_long_long | test.c:61:26:61:31 | 3500000000000000.0 | 3500000000000000.0 | file://:0:0:0:0 | double | double | test.c:103:44:103:45 | ll | long long ll |
| test.c:137:3:137:27 | call to implicit_declaration_good | Calling $@: argument $@ of type $@ is incompatible with parameter $@. | test2.c:8:6:8:30 | implicit_declaration_good | implicit_declaration_good | test.c:137:35:137:38 | 2.0 | 2.0 | file://:0:0:0:0 | float | float | test2.c:8:52:8:52 | f | float f |

View File

@@ -134,7 +134,5 @@ void test_implicit_function_declaration(int x, double d) {
implicit_declaration(1, 2); // GOOD (no longer an implicit declaration)
implicit_declaration_good(1, x, 2.0f); // BAD
y = extern_definition(3.0f, &d); // GOOD
}

View File

@@ -3,8 +3,4 @@ void implicit_declaration(int x) {}
int implicit_declaration_k_and_r(x) int x;
{
return x;
}
void implicit_declaration_good(int x, int y, float f)
{
}