+2004-04-07 Ian Lance Taylor <ian@wasabisystems.com>
+
+ * gcc.dg/pch/pch.exp: Add largefile test.
+
2004-04-06 Geoffrey Keating <geoffk@apple.com>
* g++.dg/pch/externc-1.Hs: New.
dg-pch $subdir $test [concat [list {-O0 -g}] $torture_without_loops] ".h"
}
+set test "largefile.c"
+set testh "largefile.hs"
+set f [open $test w]
+set v 0
+for { set v 0 } { $v < 10000 } { incr v } {
+ puts $f "#define MACRO_${v} \"1234567890\" \"$v\""
+}
+puts $f "#include \"largefile.h\""
+close $f
+set f [open $testh w]
+close $f
+dg-pch $subdir $test [concat [list {-O0 -g}] $torture_without_loops] ".h"
+file delete $test
+file delete $testh
+
set dg-do-what-default "$old_dg_do_what_default"
# All done.