blob: c3e7370e3792ccb1d212b4b8d05fc5915f35b91c [file] [log] [blame]
// RUN: %clang_cc1 -std=c++11 -fms-extensions -emit-llvm %s -o - -triple=i386-pc-win32 | FileCheck %s
// CHECK: "\01?LRef@@YAXAAH@Z"
void LRef(int& a) { }
// CHECK: "\01?RRef@@YAH$$QAH@Z"
int RRef(int&& a) { return a; }
// CHECK: "\01?Null@@YAX$$T@Z"
namespace std { typedef decltype(__nullptr) nullptr_t; }
void Null(std::nullptr_t) {}