The test requires visibility support. Committed to trunk.
Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin <dave.ang...@bell.net> * g++.dg/ext/visibility/lambda1.C: Require visibility. Index: g++.dg/ext/visibility/lambda1.C =================================================================== --- g++.dg/ext/visibility/lambda1.C (revision 269535) +++ g++.dg/ext/visibility/lambda1.C (working copy) @@ -1,5 +1,6 @@ // PR c++/85646 // { dg-do compile { target c++11 } } +// { dg-require-visibility "" } // { dg-additional-options -fvisibility=hidden } template<typename T>