Richard Smith | 06e767d | 2012-06-21 02:52:27 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -std=c++11 -fms-extensions -emit-llvm %s -o - -cxx-abi microsoft -triple=i386-pc-win32 | FileCheck %s |
2 | |||||
3 | // CHECK: "\01?LRef@@YAXAAH@Z" | ||||
4 | void LRef(int& a) { } | ||||
5 | |||||
6 | // CHECK: "\01?RRef@@YAH$$QAH@Z" | ||||
7 | int RRef(int&& a) { return a; } | ||||
8 | |||||
9 | // CHECK: "\01?Null@@YAX$$T@Z" | ||||
10 | namespace std { typedef decltype(__nullptr) nullptr_t; } | ||||
11 | void Null(std::nullptr_t) {} |