c++: Fix attr-lambda3.C
authorJason Merrill <jason@redhat.com>
Sun, 28 Feb 2021 14:17:10 +0000 (09:17 -0500)
committerJason Merrill <jason@redhat.com>
Sun, 28 Feb 2021 14:17:10 +0000 (09:17 -0500)
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

index f9c3ec1..71d1303 100644 (file)
@@ -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; };