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

12 lines
176 B
C++

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