Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(955)

Side by Side Diff: gcc/gcc/testsuite/obj-c++.dg/typedef-alias-1.mm

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Typedefs of ObjC types should work without any bogus warnings. */ 1 /* Typedefs of ObjC types should work without any bogus warnings. */
2 /* { dg-do compile } */ 2 /* { dg-do compile } */
3 3
4 #include <objc/Object.h> 4 #include "../objc-obj-c++-shared/Object1.h"
5 5
6 typedef Object MyObject; 6 typedef Object MyObject;
7 7
8 int main (int argc, const char * argv[]) 8 int main (int argc, const char * argv[])
9 { 9 {
10 Object* a = nil; 10 Object* a = nil;
11 MyObject* b = a; 11 MyObject* b = a;
12 Object* c = b; 12 Object* c = b;
13 13
14 return 0; 14 return 0;
15 } 15 }
16 16
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/obj-c++.dg/try-catch-2.mm ('k') | gcc/gcc/testsuite/objc.dg/bad-receiver-type.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698