aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testcarchive/testdata/main8.c
blob: 95fb7a349e145086ddd0a411f70a2d858758d63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Test preemption.

#include <stdlib.h>

#include "libgo8.h"

int main() {
	GoFunction8();

	// That should have exited the program.
	abort();
}