From 7e5d7fc7e6f99b7332284e2fd07502f4a049acc1 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sun, 28 Feb 2021 09:17:10 -0500 Subject: [PATCH] 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 ; --- gcc/testsuite/g++.dg/ext/attr-lambda3.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };