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

10 lines
155 B
C++

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