{"action":"opened","issue":{"url":"https://api.github.com/repos/elliotchance/c2go/issues/382","repository_url":"https://api.github.com/repos/elliotchance/c2go","labels_url":"https://api.github.com/repos/elliotchance/c2go/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/elliotchance/c2go/issues/382/comments","events_url":"https://api.github.com/repos/elliotchance/c2go/issues/382/events","html_url":"https://github.com/elliotchance/c2go/issues/382","id":277830636,"number":382,"title":"pointer initialization","user":{"login":"Konstantin8105","id":16690032,"avatar_url":"https://avatars2.githubusercontent.com/u/16690032?v=4","gravatar_id":"","url":"https://api.github.com/users/Konstantin8105","html_url":"https://github.com/Konstantin8105","followers_url":"https://api.github.com/users/Konstantin8105/followers","following_url":"https://api.github.com/users/Konstantin8105/following{/other_user}","gists_url":"https://api.github.com/users/Konstantin8105/gists{/gist_id}","starred_url":"https://api.github.com/users/Konstantin8105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Konstantin8105/subscriptions","organizations_url":"https://api.github.com/users/Konstantin8105/orgs","repos_url":"https://api.github.com/users/Konstantin8105/repos","events_url":"https://api.github.com/users/Konstantin8105/events{/privacy}","received_events_url":"https://api.github.com/users/Konstantin8105/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-29T16:57:52Z","updated_at":"2017-11-29T16:57:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Example:\r\n```c\r\nint main(){\r\n        double *f = (double *) 0;\r\n        return 0;\r\n}\r\n```\r\npp.c:\r\n```\r\n# 1 \"2.c\"\r\n# 1 \"<built-in>\" 1\r\n# 1 \"<built-in>\" 3\r\n# 317 \"<built-in>\" 3\r\n# 1 \"<command line>\" 1\r\n# 1 \"<built-in>\" 2\r\n# 1 \"2.c\" 2\r\nint main(){\r\n double *f = (double *) 0;\r\n return 0;\r\n}\r\n```\r\nast tree:\r\n```\r\n`-FunctionDecl 0x2b95730 <2.c:1:1, line:4:1> line:1:5 main 'int ()'\r\n  `-CompoundStmt 0x2be8000 <col:11, line:4:1>\r\n    |-DeclStmt 0x2be7fb0 <line:2:2, col:26>\r\n    | `-VarDecl 0x2be7ef0 <col:2, col:25> col:10 f 'double *' cinit\r\n    |   `-CStyleCastExpr 0x2be7f88 <col:14, col:25> 'double *' <NullToPointer>\r\n    |     `-IntegerLiteral 0x2be7f50 <col:25> 'int' 0\r\n    `-ReturnStmt 0x2be7fe8 <line:3:2, col:9>\r\n      `-IntegerLiteral 0x2be7fc8 <col:9> 'int' 0\r\n```\r\ngolang:\r\n```go\r\nfunc main() {\r\n        __init()\r\n        var f []float64 = noarch.IntToFloat64Slice(noarch.IntToFloat64Slice(0))\r\n        return\r\n}\r\n```"}}
{"actor":{"display_login":"Konstantin8105"}}