f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
11 lines
340 B
C++
11 lines
340 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: metadata !{i32 {{.*}}, null, null, null, i32 0, i64 0, i64 0, i64 0, i32 0, metadata !{{.*}}} ; [ DW_TAG_rvalue_reference_type ]
|