Files
clang-p2996/clang/test/utils/update_cc_test_checks/Inputs/resolve-tmp-conflict.cpp
Nikita Popov b16a3b4f3b [Clang] Add -no-opaque-pointers to more tests (NFC)
This adds the flag to more tests that were not caught by the
mass-migration in 532dc62b90.
2022-04-07 12:53:29 +02:00

9 lines
195 B
C++

// RUN: %clang_cc1 -no-opaque-pointers -std=c++11 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s
void foo(int a) {
int &tmp0 = a;
int &&tmp1 = 1;
tmp1 = a;
return;
}