mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Check that bodies and calls but not declarations
are marked nounwind when compiling without -fexceptions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8abfdec84
commit
7497b92c2f
7
test/CFrontend/2008-04-08-NoExceptions.c
Normal file
7
test/CFrontend/2008-04-08-NoExceptions.c
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: %llvmgcc -S -o - %s | grep nounwind | count 2
|
||||
// RUN: %llvmgcc -S -o - %s | not grep {declare.*nounwind}
|
||||
|
||||
void f(void);
|
||||
void g(void) {
|
||||
f();
|
||||
}
|
Loading…
Reference in New Issue
Block a user