From 683fc98b743ffe68946d9e2592fc23fabaeb27b9 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 25 May 2010 08:28:44 +0000 Subject: add TLS checks to ObjC++ * obj-c++.dg/torture/tls/trivial.mm: New. * obj-c++.dg/torture/tls/thr-init-1.mm: New. * obj-c++.dg/torture/tls/thr-init-2.mm: New. * obj-c++.dg/torture/tls/thr-init-3.mm: New. * obj-c++.dg/torture/tls/diag-1.mm: New. * obj-c++.dg/torture/tls/tls.exp: New. * obj-c++.dg/torture/trivial.mm: New. * obj-c++.dg/torture/dg-torture.exp: New. * obj-c++.dg/dg.exp: Gather tests explicitly from the source dir. * obj-c++.dg/tls/trivial.m: New. * obj-c++.dg/tls/init-1.mm: New. * obj-c++.dg/tls/diag-1.mm: New. * obj-c++.dg/tls/init-2.mm: New. * obj-c++.dg/tls/diag-2.mm: New. * obj-c++.dg/tls/diag-3.mm: New. * obj-c++.dg/tls/diag-4.mm: New. * obj-c++.dg/tls/static-1.mm: New. * obj-c++.dg/tls/tls.exp: New. * obj-c++.dg/tls/diag-5.mm: New. * obj-c++.dg/tls/static-1a.mm: New. * objc-obj-c++-shared/Object1.mm: New. * lib/obj-c++-dg.exp (obj-c++-dg-runtest): New proc. From-SVN: r159810 --- gcc/testsuite/objc-obj-c++-shared/Object1.mm | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gcc/testsuite/objc-obj-c++-shared/Object1.mm (limited to 'gcc/testsuite/objc-obj-c++-shared') diff --git a/gcc/testsuite/objc-obj-c++-shared/Object1.mm b/gcc/testsuite/objc-obj-c++-shared/Object1.mm new file mode 100644 index 0000000..f435a75 --- /dev/null +++ b/gcc/testsuite/objc-obj-c++-shared/Object1.mm @@ -0,0 +1,11 @@ +#import "Object1.h" +/* This will generate the code if required - as determined by + the headr above. It is kept like this to keep one code file + shared between dg-xxxx tests that can ask for an extra source + and the objc/{compile,execute}/xxx tests that have to include + the implementation explicitly. + + For cases/targets that don't require the generation of the + Object implementation, this should result in an empty object. +*/ +#import "Object1-implementation.h" -- cgit v1.1