Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
22da8eba
Commit
22da8eba
authored
14 years ago
by
Douglas Gregor
Browse files
Options
Downloads
Patches
Plain Diff
Add some more tests for reference binding of Objective-C objects
llvm-svn: 110514
parent
8b2d2fe2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang/test/SemaObjCXX/references.mm
+11
-1
11 additions, 1 deletion
clang/test/SemaObjCXX/references.mm
with
11 additions
and
1 deletion
clang/test/SemaObjCXX/references.mm
+
11
−
1
View file @
22da8eba
...
@@ -39,6 +39,11 @@ void f4(NSString &tmpstr) {
...
@@ -39,6 +39,11 @@ void f4(NSString &tmpstr) {
@interface
foo
<
P1
>
{}
@end
@interface
foo
<
P1
>
{}
@end
@interface
bar
:
foo
<
P1
,
P2
>
{}
@end
@interface
bar
:
foo
<
P1
,
P2
>
{}
@end
typedef
bar
baz
;
typedef
bar
baz
;
struct
ToBar
{
operator
bar
&
()
const
;
};
void
f5
(
foo
&
);
void
f5
(
foo
&
);
void
f5b
(
foo
<
P1
>&
);
void
f5b
(
foo
<
P1
>&
);
void
f5c
(
foo
<
P2
>&
);
void
f5c
(
foo
<
P2
>&
);
...
@@ -48,5 +53,10 @@ void f6(baz* x) {
...
@@ -48,5 +53,10 @@ void f6(baz* x) {
f5b
(
*
x
);
f5b
(
*
x
);
f5c
(
*
x
);
f5c
(
*
x
);
f5d
(
*
x
);
f5d
(
*
x
);
(
void
)((
foo
&
)
*
x
);
(
void
)((
foo
&
)
*
x
);
f5
(
ToBar
());
f5b
(
ToBar
());
f5c
(
ToBar
());
f5d
(
ToBar
());
(
void
)((
foo
&
)
ToBar
());
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment