c++: Add [dcl.init.aggr] examples to testsuite
[official-gcc.git] / gcc / testsuite / objc.dg / tls / tls.exp
blob5b30a70ff490669ef890ecf920822240cd85ae50
2 # Load support procs.
3 load_lib objc-dg.exp
5 # If a testcase doesn't have special options, use these.
6 global DEFAULT_CFLAGS
7 if ![info exists DEFAULT_CFLAGS] then {
8 set DEFAULT_CFLAGS ""
11 # Initialize `dg'.
12 dg-init
14 # Gather a list of all tests.
15 set tests [lsort [glob -nocomplain $srcdir/$subdir/*.m]]
17 # Main loop.
18 dg-runtest $tests "-fgnu-runtime" $DEFAULT_CFLAGS
20 # darwin targets can also run code with the NeXT runtime.
21 if [istarget "*-*-darwin*" ] {
22 dg-runtest $tests "-fnext-runtime" $DEFAULT_CFLAGS
25 # All done.
26 dg-finish