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
8c5f3e15
Commit
8c5f3e15
authored
Sep 03, 1999
by
Nathan Sidwell
Committed by
Nathan Sidwell
Sep 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.old-deja/g++.other/deref1.C: New test.
From-SVN: r29080
parent
43d5109b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.old-deja/g++.other/deref1.C
+13
-0
No files found.
gcc/testsuite/ChangeLog
View file @
8c5f3e15
Fri Sep 03 09:31:10 BST 1999 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/deref1.C: New test.
Thu Sep 02 09:27:34 BST 1999 Nathan Sidwell <nathan@acm.org>
Thu Sep 02 09:27:34 BST 1999 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/ambig2.C: New test.
* g++.old-deja/g++.other/ambig2.C: New test.
...
...
gcc/testsuite/g++.old-deja/g++.other/deref1.C
0 → 100644
View file @
8c5f3e15
// Copyright (C) 1999 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 1 Sep 1999 <nathan@acm.org>
// [expr.unary.op]/1 says you can dereference all pointers except for pointers
// to cv void.
void
fn
(
void
*
vp
,
volatile
void
*
vvp
)
{
*
vp
;
// ERROR - not a pointer to object
*
vvp
;
// ERROR - not a pointer to object
&*
vp
;
// ERROR - not a pointer to object
&*
vvp
;
// ERROR - not a pointer to object
}
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