summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/warning-directive-2.F90
blob: 7e4418530ef8b7c58b56e3243dc35602d7115227 (plain)
1
2
3
4
5
! { dg-do preprocess }
! { dg-options "-std=f95 -fdiagnostics-show-option -Werror=cpp" }
! { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } 
#warning "Printed"
! { dg-error "\"Printed\" .-Werror=cpp." "" { target *-*-* } 4 }