testsuite: Fix g++.dg/analyzer/pr93212.C with check-c++-all
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Feb 2020 07:06:51 +0000 (08:06 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 13 Feb 2020 07:06:51 +0000 (08:06 +0100)
commit74ddc9b8e550c6138862f9ca1eec4374d46667fc
treebf1e33c55475adc6ab1c3245b47c2f29f9a8496b
parentfc7c3d13a8988f765b93a6556caee3ed376d1216
testsuite: Fix g++.dg/analyzer/pr93212.C with check-c++-all

The test FAILs with c++11:
.../gcc/testsuite/g++.dg/analyzer/pr93212.C:4:1: error: 'lol' function uses 'auto' type specifier without trailing return type
.../gcc/testsuite/g++.dg/analyzer/pr93212.C:4:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'

2020-02-13  Jakub Jelinek  <jakub@redhat.com>

* g++.dg/analyzer/pr93212.C: Require c++14 rather than c++11.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/analyzer/pr93212.C