Testcase for PR2292.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2008-05-06 14:56:40 +00:00
parent 1f85129eb7
commit c8d9fe6bf9

View File

@ -0,0 +1,4 @@
// RUN: %llvmgcc -S -O2 %s -o /dev/null
// PR2292.
__inline__ __attribute__ ((__pure__)) int g (void) {}
void f (int k) { k = g (); }