summaryrefslogtreecommitdiff
path: root/testsuite/tests/cmm/should_compile/cmm_weak2.cmm
blob: 3b298659b690fe534e56f63cddeafa0aa6b7a6c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "Cmm.h"

attribute_weak weak_thing (W_ counter)
{
  return (counter+1);
}

//So we can use ghc for linking without complaints
main (W_ counter)
{
  return (counter+1);
}