summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test80.c
blob: 50a3a2a7c2ffd62eab1c371637d270e2be216936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
typedef __builtin_msr_t msr_t;

static msr_t rdmsr(unsigned long index)
{
	return __builtin_rdmsr(index);
}

static void main(void)
{
	msr_t msr;
	msr = rdmsr(0x12345678);
}