diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-13 17:29:26 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-13 17:29:26 +0000 |
commit | 7425b151da6157febe70b43e14c5d3947fd4b036 (patch) | |
tree | b2e4fe83000683e3368074e77341645bd6d4c109 /gcc/testsuite/objc/compile | |
parent | 7358ef8ec2ac7c41bda72db6963211c917cc3a15 (diff) | |
download | gcc-7425b151da6157febe70b43e14c5d3947fd4b036.tar.gz |
2006-12-13 Jakub Jelinek <jakub@redhat.com>
* g++.dg/debug/vartrack1.C: New test.
* g++.dg/opt/ifcvt1.C: New test.
* gcc.dg/tls/opt-13.c: New test.
* gcc.dg/20060425-2.c: New test.
* g++.dg/opt/pr15054-2.C: New test.
* gcc.c-torture/execute/20060420-1.c: New test.
* gcc.c-torture/execute/20060412-1.c: New test.
* objc/compile/20060406-1.m: New test.
2006-12-08 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/template/array17.C: New test.
2006-02-25 Alexandre Oliva <aoliva@redhat.com>
* gcc.target/powerpc/altivec-23.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119837 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/objc/compile')
-rw-r--r-- | gcc/testsuite/objc/compile/20060406-1.m | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/compile/20060406-1.m b/gcc/testsuite/objc/compile/20060406-1.m new file mode 100644 index 00000000000..e4496bf6ede --- /dev/null +++ b/gcc/testsuite/objc/compile/20060406-1.m @@ -0,0 +1,21 @@ +typedef struct +{ + void *p; +} *S; + +@protocol O +- (unsigned)j; +@end + +@interface I ++ (unsigned char)T:(S<O>[2])p v:(S<O>)h; +@end + +@implementation I ++ (unsigned char)T:(S<O>[2])p v:(S<O>)h +{ + p[0] = (S) 0; + p[1] = (S) 0; + return 0; +} +@end |