dashboard
repositories
activity
search
login
lzh
/
A133
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Revert "feat(fix): fixed the problem of reboot stuck"
huangcm
2025-07-01
2af87f2bbd5ba07d377b5a7f0ee0e96053f2d424
[~lzh/A133.git]
/
android
/
external
/
clang
/
test
/
CodeGenCXX
/
forward-enum.cpp
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin11.0.0 -emit-llvm -o - %s | FileCheck %s
enum MyEnum : char;
void bar(MyEnum value) { }
// CHECK-LABEL: define void @_Z3foo6MyEnum
void foo(MyEnum value)
{
// CHECK: call void @_Z3bar6MyEnum(i8 signext
bar(value);
}