Eric Christopher | fe0913b | 2012-05-19 01:36:50 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=c++11 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s |
2 | |||||
3 | extern "C" { | ||||
4 | extern int printf(const char * format, ...); | ||||
5 | } | ||||
6 | void foo (int &&i) | ||||
7 | { | ||||
8 | printf("%d\n", i); | ||||
9 | } | ||||
10 | |||||
Duncan P. N. Exon Smith | f04be1f | 2015-03-03 17:25:55 +0000 | [diff] [blame] | 11 | // CHECK: !MDDerivedType(tag: DW_TAG_rvalue_reference_type, baseType: ![[INT:[0-9]+]]) |
12 | // CHECK: ![[INT]] = !MDBasicType(name: "int" |