Fixed test/misc/bug1265.c with its output.

This commit is contained in:
acqn
2021-01-24 18:19:54 +08:00
committed by Oliver Schmidt
parent bfc7a51a44
commit 95830cce29
2 changed files with 1 additions and 6 deletions

View File

@@ -14,11 +14,9 @@ int main (void) {
int x, n;
sprintf (str1, "%p\n", &x);
puts(str1);
x = 1234;
n = f1 (x);
sprintf (str2, "%p\n", &x);
puts(str2);
if (strcmp(str1, str2)) {
puts("not equal");
@@ -30,11 +28,9 @@ int main (void) {
}
sprintf (str1, "%p\n", &x);
puts(str1);
x = 2345;
n = f2 (x);
sprintf (str2, "%p\n", &x);
puts(str2);
if (strcmp(str1, str2)) {
puts("not equal");