blob: 6f65a2d52593b862b640793faf1cc264050739c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;
namespace Mono.Linker.Tests.Cases.CommandLine {
/// <summary>
/// This test will use only keep used attributes, which is disabled by default, to infer that the rsp file worked
/// </summary>
[SetupLinkerResponseFileAttribute ("Dependencies/ResponseFilesWork.rsp")]
public class ResponseFilesWork {
public static void Main ()
{
new Bar ();
}
[Kept]
[KeptMember (".ctor()")]
[Foo]
class Bar {
}
class FooAttribute : Attribute {
}
}
}
|