forked from OSchip/llvm-project
13 lines
334 B
C++
13 lines
334 B
C++
// RUN: %clang_cc1 -std=c++11 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
|
|
|
|
extern "C" {
|
|
extern int printf(const char * format, ...);
|
|
}
|
|
void foo (int &&i)
|
|
{
|
|
printf("%d\n", i);
|
|
}
|
|
|
|
// CHECK: !DIDerivedType(tag: DW_TAG_rvalue_reference_type, baseType: ![[INT:[0-9]+]])
|
|
// CHECK: ![[INT]] = !DIBasicType(name: "int"
|