1*c87b03e5Sespie/* Regression test - in assembly language, # may have some significance 2*c87b03e5Sespie other than 'stringize macro argument' and therefore must be preserved 3*c87b03e5Sespie in the output, and should not be warned about. */ 4*c87b03e5Sespie 5*c87b03e5Sespie/* { dg-do preprocess } */ 6*c87b03e5Sespie/* { dg-options "" } */ 7*c87b03e5Sespie 8*c87b03e5Sespie#define foo() mov r0, #5 /* { dg-bogus "not followed" "spurious warning" } */ 9*c87b03e5Sespie 10*c87b03e5Sespieentry: 11*c87b03e5Sespie foo() 12*c87b03e5Sespie 13*c87b03e5Sespie/* Check we don't EOF on an unknown directive. */ 14*c87b03e5Sespie#unknown directive 15*c87b03e5Sespie#error a later diagnostic /* { dg-error "diagnostic" } */ 16*c87b03e5Sespie 17*c87b03e5Sespie/* 18*c87b03e5Sespie { dg-final { if ![file exists 20000510-1.i] { return } } } 19*c87b03e5Sespie { dg-final { set tmp [grep 20000510-1.i # line] } } 20*c87b03e5Sespie { dg-final { if {[string length $tmp] > 0} \{ } } 21*c87b03e5Sespie { dg-final { pass "20000510-1.S: # preservation" } } 22*c87b03e5Sespie { dg-final { \} else \{ } } 23*c87b03e5Sespie { dg-final { fail "20000510-1.S: # preservation" } } 24*c87b03e5Sespie { dg-final { \} } } 25*c87b03e5Sespie*/ 26*c87b03e5Sespie 27