* gcc.dg/sso-9.c (foo): Robustify trick.
From-SVN: r231416
This commit is contained in:
parent
a1b93f8daf
commit
315a541c45
@ -1,3 +1,7 @@
|
||||
2015-12-08 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc.dg/sso-9.c (foo): Robustify trick.
|
||||
|
||||
2015-12-08 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* gcc.dg/plugin/diagnostic-test-expressions-1.c (test_alignof):
|
||||
|
@ -22,6 +22,6 @@ void foo (int i, ...)
|
||||
{
|
||||
struct Rec a;
|
||||
va_start (a.v, i);
|
||||
a.v = a.v, x = va_arg (a.v, int); /* { dg-error "array type|reverse storage order" } */
|
||||
a.v = 0, x = va_arg (a.v, int); /* { dg-error "type|reverse storage order" } */
|
||||
va_end (a.v);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user