add parsing for ObjC* method & method parm attributes
[gcc.git] / gcc / testsuite / obj-c++.dg / torture / dg-torture.exp
1 # This harness is for tests that should be run at all optimisation levels.
2
3 load_lib obj-c++-dg.exp
4
5 dg-init
6
7 # Gather a list of all tests.
8 set tests [lsort [glob -nocomplain $srcdir/$subdir/*.mm]]
9
10 obj-c++-dg-runtest $tests "-fgnu-runtime"
11
12 # darwin targets can also run code with the NeXT runtime.
13 if [istarget "*-*-darwin*" ] {
14 obj-c++-dg-runtest $tests "-fnext-runtime"
15 }
16
17 dg-finish