main7.c 332 B

123456789101112131415161718
  1. // Copyright 2019 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Test that lots of calls don't deadlock.
  5. #include <stdio.h>
  6. #include "libgo7.h"
  7. int main() {
  8. int i;
  9. for (i = 0; i < 100000; i++) {
  10. GoFunction7();
  11. }
  12. return 0;
  13. }