8sa1-gcc/gcc/testsuite/c-c++-common/cpp/pr60400.c
Tom de Vries 53e62089fb Replace absolute line numbers in c-c++-common
2017-05-03  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/80557
	* c-c++-common/Wshift-negative-value-1.c: Replace absolute line numbers.
	* c-c++-common/Wshift-negative-value-2.c: Same.
	* c-c++-common/Wshift-negative-value-3.c: Same.
	* c-c++-common/Wshift-negative-value-4.c: Same.
	* c-c++-common/cilk-plus/AN/pr57541.c: Same.
	* c-c++-common/cpp/pr60400.c: Same.
	* c-c++-common/fmax-errors.c: Same.
	* c-c++-common/goacc/data-2.c: Same.
	* c-c++-common/goacc/host_data-2.c: Same.
	* c-c++-common/gomp/simd4.c: Same.
	* c-c++-common/pr28656.c: Same.
	* c-c++-common/pr43395.c: Same.
	* c-c++-common/torture/pr57945.c: Same.

From-SVN: r247537
2017-05-03 07:33:01 +00:00

14 lines
501 B
C

/* PR preprocessor/60400 */
/* { dg-do compile } */
/* { dg-options "-trigraphs -Wtrigraphs" } */
??=include "pr60400-1.h" /* { dg-warning "trigraph" } */
??=include "pr60400-2.h" /* { dg-warning "trigraph" } */
/* These are line numbers in pr60400-{1,2}.h Keep them absolute. */
/* { dg-warning "trigraph" "" { target *-*-* } 1 } */
/* { dg-warning "trigraph" "" { target *-*-* } 2 } */
/* { dg-warning "trigraph" "" { target *-*-* } 3 } */
/* { dg-warning "trigraph" "" { target *-*-* } 4 } */