diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:14:49 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:14:49 +0000 | 
| commit | 36981b17ed939300f6f8fc2355a255f711fcef71 (patch) | |
| tree | ee2483e98b09cac943dc93a6969d83ca737ff139 /test/Parser/switch-recovery.cpp | |
| parent | 180abc3db9ae3b4fc63cd65b15697e6ffcc8a657 (diff) | |
Notes
Diffstat (limited to 'test/Parser/switch-recovery.cpp')
| -rw-r--r-- | test/Parser/switch-recovery.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/switch-recovery.cpp b/test/Parser/switch-recovery.cpp index a1df4261db45..84ac0c899e55 100644 --- a/test/Parser/switch-recovery.cpp +++ b/test/Parser/switch-recovery.cpp @@ -79,7 +79,7 @@ int test7(int i) {      case false ? 1 : 2:      true ? 1 : 2:  // expected-error {{expected 'case' keyword before expression}}      case 10: -      14 ? 3 : 4; +      14 ? 3 : 4;  // expected-warning {{expression result unused}}      default:        return 1;    }  | 
