summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc-obj-c++-shared
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-25 08:28:44 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-25 08:28:44 +0000
commit0ab4c1ab0c5e548d034f872c46aa9860b1b54979 (patch)
treefda155280f6ddec060482e6761fd1ab028ef6d71 /gcc/testsuite/objc-obj-c++-shared
parent1b2c4a5b4b099b4a012bd35f5fec07a5b7b2fa6c (diff)
downloadgcc-0ab4c1ab0c5e548d034f872c46aa9860b1b54979.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159810 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/objc-obj-c++-shared')
-rw-r--r--gcc/testsuite/objc-obj-c++-shared/Object1.mm11
1 files changed, 11 insertions, 0 deletions
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 00000000000..f435a75af06
--- /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"