diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-07 09:21:25 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-07 09:21:25 +0000 |
| commit | 70b4596d9d0d559e94f9bad8f43463e5d98a577e (patch) | |
| tree | 57fdd33d153490269ca615ac308de731d00669da /test/CodeGen/vector.c | |
| parent | 37f6c480c696a4a72c1701ee54624cc807aa80ba (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/vector.c')
| -rw-r--r-- | test/CodeGen/vector.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/vector.c b/test/CodeGen/vector.c index 2e753b42c4d7..1084f6d20b9b 100644 --- a/test/CodeGen/vector.c +++ b/test/CodeGen/vector.c @@ -11,3 +11,11 @@ __v4hi y = {1,2,3,4}; typedef int vty __attribute((vector_size(16))); int a() { vty b; return b[2LL]; } + +// PR4339 +typedef float vec4 __attribute__((vector_size(16))); + +void vac ( vec4* a, char b, float c ) +{ + (*a)[b] = c; +} |
