gecko/xpcom/tests/static-checker/onull2.cpp
Benjamin Smedberg 8bc1d968b3 Followup to bug 451079 to move/add testcase files.
--HG--
rename : xpcom/tests/static-checker/e3.cpp => xpcom/tests/static-checker/onull2.cpp
2008-09-02 13:36:19 -04:00

10 lines
153 B
C++

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