gecko/xpcom/tests/static-checker/o5.cpp

12 lines
220 B
C++
Raw Normal View History

typedef int PRUint32;
typedef int PRInt32;
typedef PRUint32 nsresult;
nsresult bar(__attribute__((user("outparam"))) int *a);
nsresult foo(__attribute__((user("outparam"))) int *a) {
int rv = bar(a);
return rv;
}