File: struct-decl.c

package info (click to toggle)
indent 2.2.13-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,696 kB
  • sloc: ansic: 20,903; sh: 5,035; makefile: 165; sed: 16; cpp: 5
file content (27 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
enum
{
  t1,
  t2
} barfoo;

struct foobar
{
  int ch;
  char f;
} xyz;

main ()
{
  enum
  {
    None, Indent_on, Indent_off
  }
  com;

  struct foobar
  {
    int ch;
    char f;
  }
  xyz;
}