1 // Copyright 2017 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.
5 // Issue 20266: use -I with a relative path.
10 #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
11 #include "issue20266.h"
17 func test20266(t
*testing
.T
) {
18 if got
, want
:= C
.issue20266
, 20266; got
!= want
{
19 t
.Errorf("got %d, want %d", got
, want
)