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

10 lines
153 B
C++

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