mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 21:11:19 +08:00
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.
This commit is contained in:
parent
fc7c3d13a8
commit
74ddc9b8e5
@ -1,4 +1,8 @@
|
||||
2020-02-12 Iain Sandoe <iain@sandoe.co.uk>
|
||||
2020-02-13 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* g++.dg/analyzer/pr93212.C: Require c++14 rather than c++11.
|
||||
|
||||
2020-02-12 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
* g++.dg/coroutines/coro1-allocators.h: New.
|
||||
* g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C: New test.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-do compile { target c++14 } }
|
||||
|
||||
#include <iostream>
|
||||
auto lol()
|
||||
|
Loading…
x
Reference in New Issue
Block a user