repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr29736.c
blob
54eb9aaaa788c0dc58c8c76c9edce079c21eb42f
1
/* PR c/29736 */
2
3
int
__attribute__
((
vector_size
(
8
),
vector_size
(
8
)))
v
;
/* { dg-error "invalid vector type" } */
4
5
extern
int
__attribute__
((
vector_size
(
8
)))
w
;
6
int
__attribute__
((
vector_size
(
8
)))
w
;
7
8
void
9
foo
()
10
{
11
v
=
v
+
v
;
12
w
=
w
+
w
;
13
}