1 // RUN: %clang_cc1 -emit-llvm -o - %s -std=c++11
2 void *f1(unsigned long l) {
3   return reinterpret_cast<void *>(l);
4 }
5 
6 unsigned long f2() {
7   return reinterpret_cast<unsigned long>(nullptr);
8 }
9 
10 unsigned long f3(void *p) {
11   return reinterpret_cast<unsigned long>(p);
12 }
13 
14 void f4(int*&);
15 void f5(void*& u) {
16   f4(reinterpret_cast<int*&>(u));
17 }
18