Commit 6d139650 by J"orn Rennecke Committed by Joern Rennecke

* g++.old-deja/g++.brendan/new2.C (main): Use sizeof.

From-SVN: r39692
parent 49f527d5
Wed Feb 14 21:41:17 2001 J"orn Rennecke <amylaar@redhat.com>
* g++.old-deja/g++.brendan/new2.C (main): Use sizeof.
Wed Feb 14 21:31:25 2001 J"orn Rennecke <amylaar@redhat.com>
* gcc.c-torture/execute/920302-1.c (execute):
......
......@@ -35,9 +35,9 @@ int main ()
base* base_ptr;
derived* derived_ptr;
expected_size = 4;
expected_size = sizeof (int);
base_ptr = new base;
expected_size = 8;
expected_size = 2 * sizeof (int);
derived_ptr = new derived ();
if ((new_call_count != 2) || (errors != 0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment