Commit 377896f3 authored by David Mandelin's avatar David Mandelin
Browse files

Bug 431965: checking in tests forgotten before (r/a=bsmedberg from bug 420933)

parent f8c68d83
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
typedef int PRUint32;
typedef int PRInt32;

typedef PRUint32 nsresult;

nsresult foo(__attribute__((user("outparam"))) int *a) {
  int k = 0;
  return k;
}
+13 −0
Original line number Diff line number Diff line
typedef int PRUint32;
typedef int PRInt32;

typedef PRUint32 nsresult;
typedef short PRUnichar;

nsresult bar(nsACString &a);
nsresult baz();

nsresult foo(nsACString &a) {
  bar(a);
  return baz();
}
+11 −0
Original line number Diff line number Diff line
typedef int PRUint32;
typedef int PRInt32;

typedef PRUint32 nsresult;
typedef short PRUnichar;

nsresult bar(PRUnichar **a, int q);

nsresult foo(PRUnichar **a) {
  return bar(a, 0);
}
+9 −0
Original line number Diff line number Diff line
typedef int PRUint32;
typedef int PRInt32;

typedef PRUint32 nsresult;

nsresult foo(__attribute__((user("outparam"))) int *a) {
  *a = 9;
  return 1;
}
+9 −0
Original line number Diff line number Diff line
typedef int PRUint32;
typedef int PRInt32;

typedef PRUint32 nsresult;

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