diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/obj-c++.dg/encode-1.mm')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/obj-c++.dg/encode-1.mm | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/encode-1.mm b/gcc-4.8.1/gcc/testsuite/obj-c++.dg/encode-1.mm deleted file mode 100644 index 5f5ba2013..000000000 --- a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/encode-1.mm +++ /dev/null @@ -1,24 +0,0 @@ -/* Test for graceful encoding of const-qualified fields and parameters. */ -/* Author: Ziemowit Laski <zlaski@apple.com> */ - -/* { dg-do compile } */ -/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */ - -struct Cxx { - const struct Cxx *next; -}; - -@interface ObjC { - const struct Cxx *obj; -} -- (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d; -@end - -@implementation ObjC -- (ObjC *)initWithCxx: (struct Cxx *const)c and: (const struct Cxx *)d { - obj = d; - return self; -} -@end - -/* { dg-final { scan-assembler "@\[0-9\]+@0:\[0-9\]+r\\^{Cxx=\\^r{Cxx}}\[0-9\]+\\^r{Cxx}" } } */ |