pr42611.c: Move dg-error to correct line.

gcc/testsuite/
2013-07-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* gcc.dg/pr42611.c: Move dg-error to correct line.

From-SVN: r201027
This commit is contained in:
Kyrylo Tkachov 2013-07-18 10:17:44 +00:00 committed by Kyrylo Tkachov
parent 52fceb441a
commit 37cd74abd7
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-07-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.dg/pr42611.c: Move dg-error to correct line.
2013-07-17 Tobias Burnus <burnus@net-b.de>
PR fortran/57895

View File

@ -9,11 +9,11 @@
: sizeof (__SIZE_TYPE__) == sizeof (long) ? __LONG_MAX__ \
: sizeof (__SIZE_TYPE__) == sizeof (long long) ? __LONG_LONG_MAX__ \
: __INTMAX_MAX__)
struct S { int a; char b[L]; };
struct S { int a; char b[L]; }; /* { dg-error "type .struct S. is too large" } */
void
foo (void)
{
struct S s; /* { dg-error "is too large" } */
struct S s;
asm volatile ("" : : "r" (&s));
}