Fixed test/misc/bug1265.c with its output.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user