re PR c++/44648 (missing -Wunused warning on a const variable in if statement)
PR c++/44648 * g++.dg/warn/Wunused-var-35.C: Remove xfail. From-SVN: r270572
This commit is contained in:
parent
cecd06a9ea
commit
60a893dbb4
@ -1,3 +1,8 @@
|
||||
2019-04-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/44648
|
||||
* g++.dg/warn/Wunused-var-35.C: Remove xfail.
|
||||
|
||||
2019-04-25 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/90194
|
||||
|
@ -11,9 +11,8 @@ int main()
|
||||
else
|
||||
return 1;
|
||||
|
||||
if (const bool b2 = 1) // { dg-warning "\\\[-Wunused-variable\\\]" "bug" { xfail c++98_only } }
|
||||
if (const bool b2 = 1) // { dg-warning "\\\[-Wunused-variable\\\]" }
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user