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
e91c2cac
Commit
e91c2cac
authored
May 09, 2017
by
Jason Merrill
Committed by
Jason Merrill
May 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/24_iterators/container_access.cc (test03): Make il3 static.
From-SVN: r247799
parent
79557bae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libstdc++-v3/ChangeLog
+4
-0
libstdc++-v3/testsuite/24_iterators/container_access.cc
+1
-1
No files found.
libstdc++-v3/ChangeLog
View file @
e91c2cac
2017-05-09 Jason Merrill <jason@redhat.com>
* testsuite/24_iterators/container_access.cc (test03): Make il3 static.
2017-05-08 Jonathan Wakely <jwakely@redhat.com>
2017-05-08 Jonathan Wakely <jwakely@redhat.com>
* include/std/optional: Use a separate static_assert per condition.
* include/std/optional: Use a separate static_assert per condition.
...
...
libstdc++-v3/testsuite/24_iterators/container_access.cc
View file @
e91c2cac
...
@@ -55,7 +55,7 @@ test03()
...
@@ -55,7 +55,7 @@ test03()
std
::
initializer_list
<
int
>
il2
{};
std
::
initializer_list
<
int
>
il2
{};
VERIFY
(
std
::
size
(
il2
)
==
0
);
VERIFY
(
std
::
size
(
il2
)
==
0
);
VERIFY
(
std
::
empty
(
il2
));
VERIFY
(
std
::
empty
(
il2
));
constexpr
std
::
initializer_list
<
int
>
il3
{
1
,
2
,
3
};
static
constexpr
std
::
initializer_list
<
int
>
il3
{
1
,
2
,
3
};
constexpr
auto
d
=
std
::
data
(
il3
);
constexpr
auto
d
=
std
::
data
(
il3
);
static_assert
(
d
==
il3
.
begin
());
static_assert
(
d
==
il3
.
begin
());
constexpr
auto
s
=
std
::
size
(
il3
);
constexpr
auto
s
=
std
::
size
(
il3
);
...
...
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