86e01df8d1
BUG=skia: R=bungeman@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/568913002
15 lines
273 B
C++
15 lines
273 B
C++
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#include "Test.h"
|
|
|
|
DEF_TEST(Cpp11, r) {
|
|
auto square = [](int x){ return x*x; };
|
|
|
|
REPORTER_ASSERT(r, square(4) == 16);
|
|
}
|