summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/regparm.cpp
blob: f0ebd2be41675c513aa0febf750296b4ce52db62 (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s


// CHECK: _Z3fooRi(i32* inreg
void __attribute__ ((regparm (1)))  foo(int &a) {
}