Source file src/cmd/cgo/internal/testerrors/testdata/long_double_size.go

     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.
     4  
     5  package main
     6  
     7  /*
     8  const int sizeofLongDouble = sizeof(long double);
     9  */
    10  import "C"
    11  
    12  import "fmt"
    13  
    14  func main() {
    15  	fmt.Println(C.sizeofLongDouble)
    16  }
    17  

View as plain text