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
ea79f1a6
Commit
ea79f1a6
authored
Apr 26, 2016
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-c++-common/cpp/pr63831-1.c: Don't test for C++ values here.
From-SVN: r235445
parent
6b6aa8d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
gcc/testsuite/c-c++-common/cpp/pr63831-1.c
+8
-8
No files found.
gcc/testsuite/c-c++-common/cpp/pr63831-1.c
View file @
ea79f1a6
...
@@ -2,15 +2,15 @@
...
@@ -2,15 +2,15 @@
/* { dg-do compile } */
/* { dg-do compile } */
#ifdef __has_attribute
#ifdef __has_attribute
typedef
char
T1
[
__has_attribute
(
__noreturn__
)
==
200809
?
1
:
-
1
];
typedef
char
T1
[
__has_attribute
(
__noreturn__
)
?
1
:
-
1
];
typedef
char
T2
[
__has_attribute
(
alloc_size
)
==
1
?
1
:
-
1
];
typedef
char
T2
[
__has_attribute
(
alloc_size
)
==
1
?
1
:
-
1
];
typedef
char
T3
[
__has_attribute
(
non_existent_attribuuuute
)
==
0
?
1
:
-
1
];
typedef
char
T3
[
__has_attribute
(
non_existent_attribuuuute
)
==
0
?
1
:
-
1
];
#endif
#endif
#if __has_attribute (noreturn)
== 200809
#if __has_attribute (noreturn)
typedef
char
T4
;
typedef
char
T4
;
#endif
#endif
#define d deprecated
#define d deprecated
typedef
char
T5
[
__has_attribute
(
d
)
==
201309
?
1
:
-
1
];
typedef
char
T5
[
__has_attribute
(
d
)
?
1
:
-
1
];
T1
t1
;
T1
t1
;
T2
t2
;
T2
t2
;
T3
t3
;
T3
t3
;
...
@@ -24,7 +24,7 @@ typedef char T8[__has_attribute (gnu::non_existent_attribuuuute) == 0 ? 1 : -1];
...
@@ -24,7 +24,7 @@ typedef char T8[__has_attribute (gnu::non_existent_attribuuuute) == 0 ? 1 : -1];
typedef
char
T9
;
typedef
char
T9
;
#endif
#endif
#define d2 gnu::deprecated
#define d2 gnu::deprecated
typedef
char
T10
[
__has_attribute
(
d
)
==
201309
?
1
:
-
1
];
typedef
char
T10
[
__has_attribute
(
d
)
?
1
:
-
1
];
T6
t6
;
T6
t6
;
T7
t7
;
T7
t7
;
T8
t8
;
T8
t8
;
...
@@ -32,15 +32,15 @@ T9 t9;
...
@@ -32,15 +32,15 @@ T9 t9;
T10
t10
;
T10
t10
;
#endif
#endif
#ifdef __has_cpp_attribute
#ifdef __has_cpp_attribute
typedef
char
T11
[
__has_cpp_attribute
(
__noreturn__
)
==
200809
?
1
:
-
1
];
typedef
char
T11
[
__has_cpp_attribute
(
__noreturn__
)
?
1
:
-
1
];
typedef
char
T12
[
__has_cpp_attribute
(
alloc_size
)
==
1
?
1
:
-
1
];
typedef
char
T12
[
__has_cpp_attribute
(
alloc_size
)
==
1
?
1
:
-
1
];
typedef
char
T13
[
__has_cpp_attribute
(
non_existent_attribuuuute
)
==
0
?
1
:
-
1
];
typedef
char
T13
[
__has_cpp_attribute
(
non_existent_attribuuuute
)
==
0
?
1
:
-
1
];
#endif
#endif
#if __has_cpp_attribute (noreturn)
== 200809
#if __has_cpp_attribute (noreturn)
typedef
char
T14
;
typedef
char
T14
;
#endif
#endif
#define d deprecated
#define d deprecated
typedef
char
T15
[
__has_cpp_attribute
(
d
)
==
201309
?
1
:
-
1
];
typedef
char
T15
[
__has_cpp_attribute
(
d
)
?
1
:
-
1
];
T11
t11
;
T11
t11
;
T12
t12
;
T12
t12
;
T13
t13
;
T13
t13
;
...
@@ -54,7 +54,7 @@ typedef char T18[__has_cpp_attribute (gnu::non_existent_attribuuuute) == 0 ? 1 :
...
@@ -54,7 +54,7 @@ typedef char T18[__has_cpp_attribute (gnu::non_existent_attribuuuute) == 0 ? 1 :
typedef
char
T19
;
typedef
char
T19
;
#endif
#endif
#define d2 gnu::deprecated
#define d2 gnu::deprecated
typedef
char
T20
[
__has_cpp_attribute
(
d
)
==
201309
?
1
:
-
1
];
typedef
char
T20
[
__has_cpp_attribute
(
d
)
?
1
:
-
1
];
T16
t16
;
T16
t16
;
T17
t17
;
T17
t17
;
T18
t18
;
T18
t18
;
...
...
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