summaryrefslogtreecommitdiff
path: root/misc/cgo/test/issue29563/weak1.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/test/issue29563/weak1.c')
-rw-r--r--misc/cgo/test/issue29563/weak1.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/misc/cgo/test/issue29563/weak1.c b/misc/cgo/test/issue29563/weak1.c
deleted file mode 100644
index 86a22734ad..0000000000
--- a/misc/cgo/test/issue29563/weak1.c
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-extern int weaksym __attribute__((__weak__));
-int weaksym = 42;
-
-int foo1()
-{
- return weaksym;
-}