mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 00:20:14 +00:00
Unbreak trampoline test.
llvm-svn: 93711
This commit is contained in:
parent
3d1a09552c
commit
32f75c6a42
@ -24,14 +24,13 @@
|
||||
* Note that, nested functions are not ISO C and are not supported in Clang.
|
||||
*/
|
||||
|
||||
#ifdef __gcc__ && !__clang__
|
||||
#if !defined(__clang__)
|
||||
|
||||
typedef int (*nested_func_t)(int x);
|
||||
|
||||
nested_func_t proc;
|
||||
|
||||
int main()
|
||||
{
|
||||
int main() {
|
||||
/* Some locals */
|
||||
int c = 10;
|
||||
int d = 7;
|
||||
@ -55,4 +54,10 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* __clang__ */
|
||||
#else
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user