projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
analysis-tests
/
red-togreenptr-initializer-struct.cpp
1
#include "jstypes.h"
2
3
JS_REQUIRES_STACK void RedFunc();
4
5
typedef void (*GreenFuncPtr)();
6
7
struct GreenStruct
8
{
9
GreenFuncPtr func;
10
};
11
12
GreenStruct gs = { RedFunc };