forked from OSchip/llvm-project
Move the test for radar 8018252 to
SemaCXX/expressions.cpp. llvm-svn: 111988
This commit is contained in:
parent
24d189484b
commit
f4677b201e
|
@ -1,9 +0,0 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||||
// rdar // 8018252
|
||||
|
||||
void f0() {
|
||||
extern void f0_1(int*);
|
||||
register int x;
|
||||
f0_1(&x);
|
||||
}
|
||||
|
|
@ -7,3 +7,10 @@ void test() {
|
|||
// Result of ! must be type bool.
|
||||
int i = choice(!1);
|
||||
}
|
||||
|
||||
// rdar://8018252
|
||||
void f0() {
|
||||
extern void f0_1(int*);
|
||||
register int x;
|
||||
f0_1(&x);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue