]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/sm-c-mode/sm-c-mode-test.c
Merge commit 'c0a1e24ef39e2b0f388135c2ed8f8b419346337c'
[gnu-emacs-elpa] / packages / sm-c-mode / sm-c-mode-test.c
index 94cf476ff31ec063478b1c92b8aa29719540dcb7..4756064e35edc2c9ee3142cc49bd785e6964668c 100644 (file)
@@ -1,5 +1,7 @@
 /* -*- sm-c -*- */
 
+#include <toto>
+
 #define toto(arg) /* bla
                      bla */ \
   if (a) {  /* toto
 #define test(arg) \
   (hello + arg)
 
-struct foo;
+struct foo
+  {
+    int field;
+  };
+
+struct foo {
+  int field;
+};
+
+typedef struct bar {
+  int field;
+} *BarPtr;
+
+struct foo *getfoo (void)
+{
+  return NULL;
+}
 
 #define titi(arg) { \
     if (a) {        \