]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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:19:56 +0000 (09:19 -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 f9c3ec11fe9f00b465bbf3879ecf269db86a483b..71d13031f73887dcb7322af3934df02f22e811dc 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; };