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
12eac81a
Commit
12eac81a
authored
Oct 09, 2001
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorganize
From-SVN: r46125
parent
7c4577d9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
1 deletions
+28
-1
gcc/testsuite/g++.dg/README
+2
-1
gcc/testsuite/g++.dg/init/array1.C
+26
-0
gcc/testsuite/g++.dg/lookup/using2.C
+0
-0
gcc/testsuite/g++.dg/parse/angle-bracket.C
+0
-0
No files found.
gcc/testsuite/g++.dg/README
View file @
12eac81a
...
...
@@ -5,8 +5,9 @@ eh Tests for exception handling.
ext Tests for GNU language extensions.
inherit Tests for inheritance -- virtual functions, multiple inheritance, etc.
init Tests for initialization semantics, constructors/destructors, etc.
lookup Tests for lookup semantics, namespaces, etc.
lookup Tests for lookup semantics, namespaces,
using,
etc.
overload Tests for overload resolution and conversions.
parse Tests for parsing.
rtti Tests for run-time type identification (typeid, dynamic_cast, etc.)
template Tests for templates.
warn Tests for compiler warnings.
...
...
gcc/testsuite/g++.dg/init/array1.C
0 → 100644
View file @
12eac81a
// Test that completing an array declared with a typedef doesn't change
// the typedef.
// { dg-do run }
typedef
int
iArr
[];
const
iArr
array4
=
{
{
1
},{
2
},{
3
},{
4
}
};
const
iArr
array3
=
{
{
1
},{
2
},{
3
}
};
const
iArr
array5
=
{
{
1
},{
2
},{
3
},{
4
},{
5
}
};
int
main
()
{
if
(
sizeof
(
array4
)
/
sizeof
(
array4
[
0
])
!=
4
||
sizeof
(
array3
)
/
sizeof
(
array3
[
0
])
!=
3
||
sizeof
(
array5
)
/
sizeof
(
array5
[
0
])
!=
5
)
return
1
;
}
gcc/testsuite/g++.dg/
other/using-declaration
.C
→
gcc/testsuite/g++.dg/
lookup/using2
.C
View file @
12eac81a
File moved
gcc/testsuite/g++.dg/
other/parse-
angle-bracket.C
→
gcc/testsuite/g++.dg/
parse/
angle-bracket.C
View file @
12eac81a
File moved
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