testsuite: Fix up abi-tag25a.C test for C++11
Line 11 of abi-tag25.C is wrapped in #if __cpp_variable_templates which isn't defined for -std=c++11, so we can't expect a warning in that case either. 2023-12-18 Jakub Jelinek <jakub@redhat.com> * g++.dg/abi/abi-tag25a.C: Expect second dg-warning only for c++14 and later.
This commit is contained in:
parent
2c0c3368de
commit
994214334f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
#include "abi-tag25.C"
|
||||
|
||||
// { dg-warning "mangled name" "" { target *-*-* } 5 }
|
||||
// { dg-warning "mangled name" "" { target *-*-* } 11 }
|
||||
// { dg-warning "mangled name" "" { target c++14 } 11 }
|
||||
|
||||
// { dg-final { scan-assembler "_Z3funIiEvv" } }
|
||||
// { dg-final { scan-assembler "_Z3varIiE" { target c++14 } } }
|
||||
|
|
Loading…
Add table
Reference in a new issue