Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / nacl / crash / ppapi_crash_via_exit_call.cc
blob1055350535ce62dcdf562effd469e253efde65e0
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 <unistd.h>
7 #include "native_client/src/shared/platform/nacl_check.h"
8 #include "ppapi/native_client/tests/ppapi_test_lib/test_interface.h"
10 namespace {
12 // This will crash a PPP_Messaging function.
13 void CrashViaExitCall() {
14 printf("--- CrashViaExitCall\n");
15 _exit(0);
18 } // namespace
20 void SetupTests() {
21 RegisterTest("CrashViaExitCall", CrashViaExitCall);
24 void SetupPluginInterfaces() {
25 // none