Test-suite fixes for c++11 compilation by g++-5.1

This commit is contained in:
William S Fulton 2015-07-06 20:07:23 +01:00
commit 1514e19efb
3 changed files with 4 additions and 8 deletions

View file

@ -100,9 +100,6 @@ int runLambdaInline() {
%{
// TODO
struct LambdaStruct {
static constexpr auto lambda_struct1 = [=]() { return thing; };
};
int(*lambda101notauto)(int, int) = [] (int a, int b) { return a + b; };
int lambda102 = [] (int a, int b) mutable { return a + b; }(1, 2);
void lambda_init(int = ([=]{ return 0; })());