2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -std=c++11 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s
|
2012-05-19 09:36:50 +08:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
extern int printf(const char * format, ...);
|
|
|
|
}
|
|
|
|
void foo (int &&i)
|
|
|
|
{
|
|
|
|
printf("%d\n", i);
|
|
|
|
}
|
|
|
|
|
2015-11-16 17:04:13 +08:00
|
|
|
// CHECK: !DIDerivedType(tag: DW_TAG_rvalue_reference_type, baseType: ![[INT:[0-9]+]], size: 64, align: 64)
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: ![[INT]] = !DIBasicType(name: "int"
|