Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / nacl / crash / ppapi_crash_via_check_failure.cc
blobb7ba1542d3a1c16c2047359840e6e2ea662a0fb1
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "native_client/src/shared/platform/nacl_check.h"
6 #include "ppapi/native_client/tests/ppapi_test_lib/test_interface.h"
8 namespace {
10 // This will crash a PPP_Messaging function.
11 void CrashViaCheckFailure() {
12 printf("--- CrashViaCheckFailure\n");
13 CHECK(false);
16 } // namespace
18 void SetupTests() {
19 RegisterTest("CrashViaCheckFailure", CrashViaCheckFailure);
22 void SetupPluginInterfaces() {
23 // none