File: issue23.c

package info (click to toggle)
c2hs 0.28.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,788 kB
  • sloc: haskell: 6,882; ansic: 1,857; xml: 1,411; makefile: 111
file content (11 lines) | stat: -rwxr-xr-x 158 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#include "issue23.h"
#include "issue23x.h"

enum hello hello_fn(int n)
{
  switch (n) {
  case 0: return H1;
  case 1: return H2;
  default: return H3;
  }
}