]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/sm-c-mode/sm-c-mode-test.c
* sm-c-mode: Improve indentation of struct; plus bug fixes
[gnu-emacs-elpa] / packages / sm-c-mode / sm-c-mode-test.c
index 94cf476ff31ec063478b1c92b8aa29719540dcb7..4690105a395181045d8809868c99403560a18d23 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;
+};
+
+struct foo *getfoo (void)
+{
+  return NULL;
+}
 
 #define titi(arg) { \
     if (a) {        \