blob: 235749aef74a09cda29f10d35fc75cd24ee8801a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//===-- a.c -----------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
extern int b_function ();
int a_init()
{
return 234;
}
int a_global = a_init();
extern "C" int
a_function ()
{
return b_function ();
}
|