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

10 lines
153 B
C++

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