From: Jason Merrill Date: Sun, 28 Feb 2021 14:17:10 +0000 (-0500) Subject: c++: Fix attr-lambda3.C X-Git-Tag: releases/gcc-9.4.0~307 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96c231ba03df9c20d3b3d2a6991660149d87e31d;p=thirdparty%2Fgcc.git c++: Fix attr-lambda3.C Some testcase for a change I was testing had an unnecessary ; at the end of a line that caused a test failure on the 10 branch, so I mistakenly removed it from this one. Oops. gcc/testsuite/ChangeLog: * g++.dg/ext/attr-lambda3.C: Add missing ; --- diff --git a/gcc/testsuite/g++.dg/ext/attr-lambda3.C b/gcc/testsuite/g++.dg/ext/attr-lambda3.C index f9c3ec11fe9f..71d13031f738 100644 --- a/gcc/testsuite/g++.dg/ext/attr-lambda3.C +++ b/gcc/testsuite/g++.dg/ext/attr-lambda3.C @@ -1,4 +1,4 @@ // PR c++/90333 // { dg-do compile { target c++11 } } -auto x = []() __attribute__((always_inline)) -> int { return 0; } +auto x = []() __attribute__((always_inline)) -> int { return 0; };