Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6d139650
Commit
6d139650
authored
Feb 14, 2001
by
J"orn Rennecke
Committed by
Joern Rennecke
Feb 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.old-deja/g++.brendan/new2.C (main): Use sizeof.
From-SVN: r39692
parent
49f527d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.old-deja/g++.brendan/new2.C
+2
-2
No files found.
gcc/testsuite/ChangeLog
View file @
6d139650
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):
...
...
gcc/testsuite/g++.old-deja/g++.brendan/new2.C
View file @
6d139650
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment