]> Cypherpunks repositories - gostls13.git/commitdiff
bug with struct-type { 1 }
authorKen Thompson <ken@golang.org>
Tue, 14 Oct 2008 19:48:14 +0000 (12:48 -0700)
committerKen Thompson <ken@golang.org>
Tue, 14 Oct 2008 19:48:14 +0000 (12:48 -0700)
R=r
OCL=17096
CL=17096

src/cmd/gc/const.c

index c44a2a6b74ee53bd7f471df82dae646283def966..d97304633a68bd0884705ced25d8a28aa59f93bc 100644 (file)
@@ -30,6 +30,7 @@ convlit(Node *n, Type *t)
        case TFUNC:
        case TCHAN:
        case TMAP:
+       case TSTRUCT:
 //     case TPTR32:
 //     case TPTR64:
                return;