• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9
2 
3 typedef unsigned long long uint64_t;
4 extern uint64_t numer;
5 extern uint64_t denom;
6 
7 uint64_t
f(uint64_t val)8 f(uint64_t val)
9 {
10     __uint128_t tmp;
11 
12     tmp = val;
13     tmp *= numer;
14     tmp /= denom;
15 
16     return tmp;
17 }
18 
19