[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / reinterpret-cast.cpp
blob63c5a2adc64dacfa05594e1f434c6adb4ab213cf
1 // RUN: %clang_cc1 -emit-llvm -o - %s -std=c++11
2 // REQUIRES: LP64
4 void *f1(unsigned long l) {
5 return reinterpret_cast<void *>(l);
8 unsigned long f2() {
9 return reinterpret_cast<unsigned long>(nullptr);
12 unsigned long f3(void *p) {
13 return reinterpret_cast<unsigned long>(p);
16 void f4(int*&);
17 void f5(void*& u) {
18 f4(reinterpret_cast<int*&>(u));