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-nested.cpp
1
#include "jstypes.h"
2
3
void GreenFunc();
4
JS_REQUIRES_STACK void RedFunc();
5
6
typedef void (*GreenFuncPtr)();
7
8
struct S
9
{
10
int i;
11
GreenFuncPtr p;
12
};
13
14
S sa[] = {
15
{ 2, GreenFunc },
16
{ 1, RedFunc },
17
};
18