| Zhongxing Xu | 685a1d8 | 2010-04-30 04:14:20 +0000 | [diff] [blame] | 1 | // RUN: false | 
|  | 2 | // XFAIL: * | 
| Zhongxing Xu | d497e12 | 2010-03-02 10:08:30 +0000 | [diff] [blame] | 3 |  | 
|  | 4 | // Test parameter 'a' is registered to LiveVariables analysis data although it | 
|  | 5 | // is not referenced in the function body. | 
| Zhongxing Xu | 6b11b4e | 2010-03-03 01:02:48 +0000 | [diff] [blame] | 6 | // Before processing 'return 1;', in RemoveDeadBindings(), we query the liveness | 
|  | 7 | // of 'a', because we have a binding for it due to parameter passing. | 
| Zhongxing Xu | d497e12 | 2010-03-02 10:08:30 +0000 | [diff] [blame] | 8 | int f1(int a) { | 
|  | 9 | return 1; | 
|  | 10 | } | 
|  | 11 |  | 
|  | 12 | void f2() { | 
|  | 13 | int x; | 
|  | 14 | x = f1(1); | 
|  | 15 | } |