]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
990519-1.c: New test.
authorRaja R Harinath <harinath@cs.umn.edu>
Wed, 19 May 1999 02:01:52 +0000 (20:01 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 19 May 1999 02:01:52 +0000 (20:01 -0600)
X
        * gcc.c-torture/compile/990519-1.c: New test.

From-SVN: r27011

gcc/testsuite/gcc.c-torture/compile/990519-1.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.c-torture/compile/990519-1.c b/gcc/testsuite/gcc.c-torture/compile/990519-1.c
new file mode 100644 (file)
index 0000000..9c11617
--- /dev/null
@@ -0,0 +1,10 @@
+  typedef int   gboolean;
+
+  typedef struct{
+    gboolean names : 1;
+    gboolean types : 1;
+  } ParamOptions;
+
+  int p_param(ParamOptions* o){
+    return o->types && o->names;
+  }