mirror of
https://github.com/golang/go
synced 2024-11-14 09:00:21 -07:00
fb29e2252c
Fixes #35327 Change-Id: I3726bfad24851a0bef8891014f7c5a7c48352307 Reviewed-on: https://go-review.googlesource.com/c/go/+/205077 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
19 lines
332 B
C
19 lines
332 B
C
// Copyright 2019 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 that lots of calls don't deadlock.
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "libgo7.h"
|
|
|
|
int main() {
|
|
int i;
|
|
|
|
for (i = 0; i < 100000; i++) {
|
|
GoFunction7();
|
|
}
|
|
return 0;
|
|
}
|