1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c++11 -fms-extensions -emit-llvm %s -o - -cxx-abi microsoft -triple=i386-pc-win32 | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // CHECK: "\01?LRef@@YAXAAH@Z" 4*f4a2713aSLionel Sambuc void LRef(int& a) { } 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc // CHECK: "\01?RRef@@YAH$$QAH@Z" 7*f4a2713aSLionel Sambuc int RRef(int&& a) { return a; } 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc // CHECK: "\01?Null@@YAX$$T@Z" 10*f4a2713aSLionel Sambuc namespace std { typedef decltype(__nullptr) nullptr_t; } 11*f4a2713aSLionel Sambuc void Null(std::nullptr_t) {} 12