blob: de0f65ad9a0299097b70194b6994ef4a55947226 [file] [log] [blame]
Douglas Katzman3459ce22015-10-08 04:24:12 +00001// RUN: %clang_cc1 -std=c++11 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s
Eric Christopherfe0913b2012-05-19 01:36:50 +00002
3extern "C" {
4extern int printf(const char * format, ...);
5}
6void foo (int &&i)
7{
8 printf("%d\n", i);
9}
10
Victor Leschuka7ece032016-10-20 00:13:19 +000011// CHECK: !DIDerivedType(tag: DW_TAG_rvalue_reference_type, baseType: ![[INT:[0-9]+]], size: 64)
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +000012// CHECK: ![[INT]] = !DIBasicType(name: "int"