blob: 60dd55bbb08677cd4b1e3859ff571842ea5c2404 [file] [log] [blame]
/* PR c++/57274 */
/* { dg-do compile } */
/* { dg-options "-Wsequence-point" } */
void foo (int, int);
void
bar (int *x)
{
foo (*x++, sizeof (*x)); /* { dg-bogus "may be undefined" } */
}
void
baz (int *x)
{
foo (*x, sizeof (*x++) + sizeof (*x++)); /* { dg-bogus "may be undefined" } */
}