Implement a flag -fext-numeric-literals that allows control of whether GNU
[official-gcc.git] / libgo / runtime / go-typestring.c
blob712c333e7cb94aac58ae9a917b70501b0979c0cf
1 /* go-typestring.c -- the runtime.typestring function.
3 Copyright 2010 The Go Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file. */
7 #include "runtime.h"
8 #include "interface.h"
9 #include "go-type.h"
11 String typestring(struct __go_empty_interface) asm ("runtime.typestring");
13 String
14 typestring (struct __go_empty_interface e)
16 return *e.__type_descriptor->__reflection;