xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-rvalue-ref.cpp (revision bdb565187c0f1a04513dd488df843317b27f86c8)
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 
11 // CHECK:  !"0x42\00\000\000\000\000\000", null, null, !{{.*}}} ; [ DW_TAG_rvalue_reference_type ]
12