Commit 32b671f0 by Jason Merrill

* g++.dg/ubsan/cxx1y-vla.C: Remove.

From-SVN: r218681
parent 18e780d4
/* { dg-do run } */
/* { dg-options "-fsanitize=vla-bound -Wall -Wno-unused-variable -std=c++14" } */
/* { dg-shouldfail "ubsan" } */
int
main (void)
{
int y = -18;
int a[y];
return 0;
}
/* { dg-output "terminate called after throwing an instance" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment